summaryrefslogtreecommitdiffstats
path: root/gtk/src/presets.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: fix problem with preset updatesjstebbins2011-08-241-8/+12
| | | | | | | | When presets update due to new hb version, custom presets were being stepped on badly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4192 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make values for preset key AudioEncoderFallback compatible with mac uijstebbins2011-08-221-1/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4191 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: fix issues with preset valuesjstebbins2011-08-191-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4187 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add more audio passthru optionsjstebbins2011-08-011-3/+5
| | | | | | | | | | | | | | | | | adds aac and mp3 passthru for mp4 and mkv containers adds dts and dtshd for mp4 container (mkv already had it) Note: The only player known (to me) to support dts(hd) in mp4 is ff/avplay In LinGui there is a new option to limit which passthru codecs will be used by the "Auto Passthru" audio codec options. The CLI already has this ability with "--audio_copy-mask" which is use in conjunction with the "copy" audio codec option. Also corrects some A/V sync issues when video frames are dropped due to a gap detected in the audio. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4149 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Consolidate passthrough mixdowns.dynaflash2011-07-191-0/+1
| | | | | | | | | | - There's no need for one passthrough mixdown per passthrough codec. - When using passthru, mixdown is set to "None". - Patch by Rodeo ... Thanks! - Fix a bug where we would sometimes attempt to modify a non-mutable NSDictionary, causing a crash. - Fix by blindjimmy ... Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4121 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: add backwards compatible "AC3" translation for audio encoder valuejstebbins2011-07-161-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4108 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: add some preset translations that I missedjstebbins2011-07-161-0/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4106 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add DTS-HD passthru \o/jstebbins2011-06-141-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4055 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix backward compatibility issuejstebbins2011-03-221-1/+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
* Remove legacy % to RF mapping.jstebbins2011-03-211-36/+0
| | | | | | | | | | Although the % option has been gone for a while in the cli and gui's, there were some mappings happening in libhb and for preset imports. This removes the last vestages of % quality mapping. Thanks to Rodeo for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3857 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove target file size optionjstebbins2011-02-261-18/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3808 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add CFR option for "Same as source" framerate.jstebbins2011-01-281-4/+107
| | | | | | | | | Since there seem to be a lot of players that do not properly support VFR, add a CFR option that can be used with "Same as source". The framerate to use comes from the title and the cfr flag is set in the job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3770 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
* Add ac3 encodingjstebbins2010-10-041-1/+2
| | | | | | | Uses ffmpeg's ac3 encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3570 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: improvements to maxWidth/maxHeight preset guijstebbins2010-06-291-6/+38
| | | | | | | | | | Add checkbox for each of max width/height entries in the presets save dialog. When not checked, the value is not stored to the preset. If neither is checked, UsesPictureSettings=2 is assumed. If either is checked, UsesPictureSettings=1 is assumed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3420 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add max width/height widgets to preset save dialogjstebbins2010-06-281-18/+3
| | | | | | | | | | | | | | These are only visible when autosize is disabled, meaning the user has chosen to set specific video dimensions. These values are used when a preset or title is loaded to set the default storage dimensions. This allows setting arbitrary PictureWidth/PictureHeight in the preset which was not previously possible. The values were previously limited to what the currently loaded source would allow you to enter into the picture settings width/height fields. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3417 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some issues with loading custom anamorphic settings from preset.jstebbins2010-06-261-0/+4
| | | | | | | | | | | as the settings were incrementally loaded, each changing widget triggered updates that could conflict with the preset values being loaded. fix an issue with hight getting stuck at certain values. Incorrect rounding caused a recalculation that put height back to it's previous value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3412 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: initialize picture width/height, even when there is no valid titlejstebbins2010-06-241-0/+10
| | | | | | | the ui widgets were just being set to 0 till a title was loaded. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3404 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add jbrjake's new iPad presetjstebbins2010-06-201-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3397 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a mingw build issuejstebbins2010-04-141-3/+12
| | | | | | | The new multi-instance file locking needs to be ifdef'd for mingw git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3221 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow multiple instances of the gui to runjstebbins2010-04-091-3/+143
| | | | | | | | | | | | 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: fix stupid preset import bugjstebbins2010-02-221-1/+2
| | | | | | | | after importing, save it to the preset file instead of just holding it in memory git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3133 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: When translating legacy presets, vquality 0 means RF 0, not 0%jstebbins2010-02-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3107 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add point-to-pointjstebbins2009-12-231-10/+14
| | | | | | | | 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 m4v file extension selection when the source has only 1 chapterjstebbins2009-12-141-1/+80
| | | | | | | | | | the chapter markers settings wasn't actually disabled, even though it was being filtered out of the job settings. This caused the m4v file extension selection logic to use m4v. And there was no way to change it since the chapter markers widget was hidden. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3029 b64f7644-9d1e-0410-96f1-a4d463321fa5
* batch file scanning and scan canceljstebbins2009-11-251-1/+1
| | | | | | | | | | When a directory is specified as the source, first we attempt to open as a dvd, then if that fails, we attempt to open each file in the directory as a stream source. Since opening a large directory of files can take a really long time, you can also now cancel a scan. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2980 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem with loading preset that has deinterlace enabledjstebbins2009-11-211-0/+13
| | | | | | | | setting a radio box to false doesn't automatically set it's counterpart to true. Must explicitly enable deinterlace when decomb is false git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2952 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: mingw doesn't have lockf, ifdef out queue file locking for mingwjstebbins2009-10-281-0/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2898 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: create a queue lock file to prevent simultaneous access to the queuejstebbins2009-10-041-0/+22
| | | | | | | from 2 running instances of ghb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: picture filter changesjstebbins2009-08-261-4/+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: switch to using the native_name field of the language tablejstebbins2009-07-171-2/+10
| | | | | | | | | when it's available, it's a better choice since users will recognize their it easier when it is written in their native language git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2708 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rearrange the preset menu a bit.jstebbins2009-07-131-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2690 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: when renaming a preset, prevent duplicates names from being usedjstebbins2009-07-131-1/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2689 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more preset list improvementsjstebbins2009-07-111-68/+111
| | | | | | | | - Make separate menu items for creating new folders and saving presets - Make custom preset and folder names editable git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2684 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add preset import/exportjstebbins2009-07-101-1/+248
| | | | | | | | | | Only one item can be selected for export, but that item may be a folder which contains multiple presets. Import will handle a list of multiple presets and folders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2683 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: SRT supportjstebbins2009-06-301-4/+10
| | | | | | | | | | | | | | | | - 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: add preference option for iPod/iTunes friendly m4v extensionjstebbins2009-06-251-1/+1
| | | | | | | remove explicit m4v choice from Format combo (since it's not a separate format) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2622 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add controls to all setting an explicit par in ana mode 3jstebbins2009-06-161-18/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2544 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove the big jump in the drc slider when going from 1.0->Offjstebbins2009-06-101-0/+33
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: new builtin presetsjstebbins2009-06-041-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2483 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubs:jstebbins2009-06-031-5/+2
| | | | | | | | | | | | | | - add ability to have 1 source subtitle feed many output subtitles use hb_subtitle_add() to add output tracks. example use case: you want forced subtitles from a source track on one output track and the entire subtitle stream from the same source track on a second output track - LinGui: make subtitle tab resemble functionality of the audio tab any track can be added multiple times with different settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2476 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubtitles:jstebbins2009-06-021-0/+2
| | | | | | | | | | | | | | | | | | - when doing an indepth scan, do not scan CC tracks - separate subtitle configureation attributes into separate hb_subtitle_config_t. Add an instance of this to hb_job_t for setting the attributes of the subtitle found through an indepth scan - Add a default_track flag to hb_subtitle_config_t that tells the muxer that the track should be flaged as the default. muxmkv uses this. - When an indepth scan is complete, check to see if the autoselected subtitle matchces (by id) one of the manually selected subtitles. If a match is found, the autoselected subtitle with all the attributes the user assigned to it replaces the manually selected subtitle. - LinGui: Add "Default" column to subtitle tab. This is a radio that lets the user choose which subtitle should be displayed by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2468 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: explicitely map "AAC (CoreAudio)" preset value to faac jstebbins2009-05-291-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2461 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: automatically update the built-in presets when the hb build number ↵jstebbins2009-05-261-1/+99
| | | | | | changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: expunge the remaining bits of xvid from the gtk guijstebbins2009-05-261-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2449 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-211-16/+29
| | | | | | | add 'enable' checkbox to subtitle list and show all subtitles in the list after scanning. Thanks eddyg for the suggestions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2434 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mkv soft subtitle supportjstebbins2009-05-191-16/+123
| | | | | | | | | | | | | - 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
* LinGui: jstebbins2009-05-021-1/+1
| | | | | | | | | | | poll for dvd volume labels after the ui is fully displayed truncate leading and trailing spaces in volume labels sanitize volume label after making a copy instead of stepping on dvdreads private copy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2370 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix drag and drop problems in presets and queuejstebbins2009-04-271-0/+5
| | | | | | | don't allow dragging unknown widget types into treeviews git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2357 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change some preset keys to sync with mac presetsjstebbins2009-04-241-7/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2353 b64f7644-9d1e-0410-96f1-a4d463321fa5