summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: fix range update issues and plug memory leaksjstebbins2014-02-211-3/+9
| | | | | | | | Updating the range of GtkScale and GtkSpinButtons causes the current value to update inappropriately under some conditions. So update the range and value concurrently. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6051 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework title listjstebbins2014-02-191-43/+49
| | | | | | | | | | | | | | Title list is now linked to a settings list. There is one settings dict per title. The settings list is populated when scan completes. As you change titles, the settings for that title populate the UI. Changes made are saved in the settings and restored if you go to another title and then return. This is preparation for improvements to "Add All to Queue" feature. Settings for each title can be customized before adding to the queue. All titles don't have to use the same preset or settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6046 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Audio and subtitle UI rework.jstebbins2014-02-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new tabs for audio and subtitle defaults (presets). "Audio" and "Subtitle" tabs renamed to "Audio List" and "Subtitle List" New Preset Keys: AudioLanguageList - array of strings List of languages that will be used to generate the output audio tracks for a job. Values: preset - UI display iso639_2 codes - native_name if not NULL, else eng_name SubtitleLanguageList - array of strings List of languages that will be used to generate the output subtitle tracks for a job. Values: preset - UI display iso639_2 codes - native_name if not NULL, else eng_name AudioTrackSelectionBehavior - string Defines how source tracks will be selected when generating the audio list for a job. Values: preset - UI display none - None first - First Matching Selected Languages all - All Matching Selected Languages SubtitleTrackSelectionBehavior - string Defines how source tracks will be selected when generating the subtitle list for a job. Values: preset - UI display none - None first - First Matching Selected Languages all - All Matching Selected Languages SubtitleAddCC - boolean Add Closed Caption track to subtitle list if available SubtitleAddForeignAudioSearch - boolean Add Foreign audio search pass to job if a default subtitle language is set (i.e. SubtitleLanguageList is not empty and first entry is not "Any") and default audio track language matches subtitle preferred language. SubtitleAddForeignAudioSubtitle - boolean Add preferred language subtitle track if the default subtitle language is set (i.e. SubtitleLanguageList is not empty and first entry is not "Any") and default audio track language does not match the preferred subtitle language. Removed Preset Keys: AudioTrack SubtitleList - I think only the LinGui had this key. Note that the remaining keys in the pre-existing AudioList are reused and map to the "Audio Encoder Settings" on the "Audio Defaults" tab. They used to map to the entries in the list on the old "Audio" tab. The old "Audio" tab is now the "Audio List" tab. Nothing in the "Audio List" tab map to preset values in the new design. The contents of this tab is strictly for use in the encode job. Ditto for "Subtitle Defaults" and "Subtitle List". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6040 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix deprecation of GtkAction and GtkUIManagerjstebbins2014-01-151-39/+26
| | | | | | | Farely large change since these were the old way of creating menus :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5974 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: mark more strings as translation candidatesjstebbins2013-08-011-57/+55
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5678 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add experimental avformat muxer for mkv and mp4jstebbins2013-06-301-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5620 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Update copyright datesjstebbins2012-12-301-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5117 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: convert tabs to spacesjstebbins2012-12-271-1283/+1283
| | | | | | | Makes lingui source conform to hb standard for indentation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5112 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update iconsjstebbins2012-11-111-8/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5054 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a bunch of compiler warningsjstebbins2012-05-261-2/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4701 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix queue display problem with "same as source (constant)" frameratejstebbins2012-03-311-6/+16
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4566 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add HB_INVALID_AUDIO_QUALITY define. -1 is valid for Vorbis VBR and thus ↵Rodeo2012-02-211-1/+1
| | | | | | | | | | doesn't work for this purpose. Fixes Vorbis VBR with --aq < 0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4461 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix couple audio bitrate display problemsjstebbins2011-10-251-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4318 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: experimental support for batch queuingjstebbins2011-10-161-42/+61
| | | | | | | | | This allows all titles in the title popup to be added to the queue in one go. It uses the current *preset* for the settings. I.e. settings changes in the UI are ignored. This deficiency will be rectified at a future time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4294 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add flac + quality + compression level supportjstebbins2011-10-121-67/+19
| | | | | | | | | Adds flac audio to cli, lingui, and macgui Adds quality and compression level options to cli Adds quality option to lingui Quality option works for vorbis and lame git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4281 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio gain adjustment and create advanced audio dialog.jstebbins2011-04-051-3/+7
| | | | | | | | | Gain, DRC, and Sample Rate are now in an advanced audio dialog. This makes the audio tab less crowded and makes room for future improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3903 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix backward compatibility issuejstebbins2011-03-221-2/+1
| | | | | | | Versions of gdk on Ubuntu 9.10 and 10.04 do not have GDK_KEY_* macros git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove deprecated use of GDK_* keysymsjstebbins2011-03-221-1/+1
| | | | | | | They have been changed to GDK_KEY_* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3862 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add parameter parsing and b-frame support to ffmpeg mpeg-4 encoderjstebbins2011-03-111-12/+13
| | | | | | | | | | | | | The cli will now accept ':' separated parameters using the '-x' option for ffmpeg mpeg-4. The linux gui has an entry box on the advanced tab to add options. The option keys and values are the same as what the ffmpeg command line allows. Calculation of DTS timestamps was added to encavcodec.c in order to allow out of order b-frames. The algorithm is similar to what x264 uses. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3839 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix display of "quality" units in queue when ffmpeg encoder is usedjstebbins2011-03-041-3/+10
| | | | | | | was showing "RF" when should have been "QP" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3824 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: missed removing a part of target file size codejstebbins2011-02-281-15/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3820 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update copyright datesjstebbins2011-01-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: disable the 'Add to Queue' button while scanning.jstebbins2010-12-211-0/+5
| | | | | | | It's not a good idea try to access title info while the scan is in progress. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3713 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix queue display problem when there's '&' in input file namejstebbins2010-10-101-2/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3596 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some audio list display problemsjstebbins2010-10-091-7/+3
| | | | | | | and try to clean up the code a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3589 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a display problem in the audio listjstebbins2010-10-051-1/+1
| | | | | | | And tweak default bitrate choices. likely to change :P git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3573 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add ac3 encodingjstebbins2010-10-041-1/+1
| | | | | | | Uses ffmpeg's ac3 encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3570 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework some of the logic behind the audio tab handlerjstebbins2010-06-071-27/+15
| | | | | | | | | gets rid of some duplication of values that i had. makes it easier to keep the visible list and the data structures behind it in sync. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3369 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: drop dependency on hal, use udev insteadjstebbins2010-04-271-1/+1
| | | | | | | | this means support for older linux versions is being dropped. ubuntu 9.10 and above and fedora 12 and above are known to work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3270 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow multiple instances of the gui to runjstebbins2010-04-091-2/+12
| | | | | | | | | | | | Each instance has a queue named "queue.<pid>". On startup, the gui opens and locks with lockf a file "ghb.pid.<pid>". Then it searches for any other ghb.pid.<pid> files that exist that are not locked. If it finds one, then some instance of ghb exited and may have left behind a queue. Try to reload it. If there are no items in the queue, continue looking for unlocked ghb.pid.<pid> files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3212 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add point-to-pointjstebbins2009-12-231-7/+16
| | | | | | | | the user can now select between chapter, seconds, or frame start and end points for encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3041 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix cosmetic issue with the display of the number of passes in the queuejstebbins2009-11-131-2/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2925 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove crf flag and all uses of itjstebbins2009-10-191-1/+1
| | | | | | | x264 encodes will only use crf now. qp mode is gone. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2891 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: when reloading the queue, update the state of the "Show Queue" togglejstebbins2009-10-041-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2868 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix audio codec descriptionjstebbins2009-09-301-0/+6
| | | | | | | When adding to the queue, the audio codec description could be incorrect git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2856 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix initialization of chapter list when editing queued jobjstebbins2009-09-111-0/+4
| | | | | | | Chapter titles the user entered were lost when editing a queued job git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2813 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: picture filter changesjstebbins2009-08-261-2/+4
| | | | | | | | | - change "None" to "Off" for detelecine, decomb, deinterlace, and denoise - add decomb/deinterlace switch, hide controls that are not active - update builtin presets to reflect change in order of "Custom" option git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2777 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: when stopping an encode, give the user options similar to macuijstebbins2009-07-241-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2730 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with encode cancel logicjstebbins2009-07-181-2/+2
| | | | | | | | declining to cancel the encode would permit the current encode to continue, but then the next encode would not start. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2713 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: gtk 2.12 compatibility fixesjstebbins2009-07-071-0/+36
| | | | | | | | | | - ifdef 2.16 specific code. use g_object_set_property to set action properties with older gtk versions. - remove "orientation" property from vbox widgets. It's not recognized by older gtk versions git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2670 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: tooltip and other text changesjstebbins2009-07-021-0/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2655 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: modify pause/resume button appearancejstebbins2009-07-011-31/+92
| | | | | | | | | | when encoding show "Pause" with pause icon when paused, show "Resume" with play icon also improve how I'm handling play/stop toolbar button and menu options git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2654 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: several ui improvementsjstebbins2009-06-301-0/+15
| | | | | | | | | | | - Add separate progress bar for source scan (similar to mac ui) - When working replace start button with stop button on main window. - Add status field that shows number of pending queue items on main window. - add some white space and remove a couple more frames - add subtitle scan pass information to progress bar git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: SRT supportjstebbins2009-06-301-0/+18
| | | | | | | | | | | | | | | | - there are now two buttons to add subtitles one button adds normal subtitles from the source. the second adds SRT subtitles. - when an SRT subtitle is selected in the list, the available controls change SRT controls are: Language, Character Codeset, File, and Time Offset (ms) - A combo entry box is used for character code. A subset of the most common character codes is available in the popup. Other codes can be manually entered in the entry box. - The last used SRT file directory is remembered. - Remove the debug printf eddyg left in decsrtsub.c git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: With mingw, disable access rights checking of destination directory.jstebbins2009-06-251-0/+3
| | | | | | | | | The glib function for this only checks fat32 permissions and fails randomly on NTFS. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2621 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add subtitle list to queue displayjstebbins2009-06-231-3/+49
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2605 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make the status icon in the system tray a bit more usefuljstebbins2009-06-171-5/+0
| | | | | | | | | | | Succumbing to the pleading of users... - Use HB icon for status - Add tooltip to status icon that shows progress - Add preference option to skip the taskbar. So clikcing on the status icon un-minimizes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2565 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove the big jump in the drc slider when going from 1.0->Offjstebbins2009-06-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: give feedback indicating problems with subtitle selectionsjstebbins2009-05-201-0/+5
| | | | | | | | | - highlight subtitles that can not be encoded for some reason example: user adds several subtitles, then changes container from mkv to mp4 - validate subtitle list when adding to queue and show warning popup when there's a problem git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2432 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mkv soft subtitle supportjstebbins2009-05-191-4/+0
| | | | | | | | | | | | | - new libmkv 0.6.4 with subtitle track support - muxmkv supports vobsub and closed caption subtitles - added subtitle format, source, and dest initialization to dvdnav - moved subtitle_force flag into hb_subtitle_t struct as it needs to be settable per subtitle - gtk ui added subtitle tab which allows selection of multiple subtitles - reorgainize subtitle sync code to prevent dropping of subtitles when multiple subtitles are enabled git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2428 b64f7644-9d1e-0410-96f1-a4d463321fa5