summaryrefslogtreecommitdiffstats
path: root/gtk/src/presets.c
Commit message (Collapse)AuthorAgeFilesLines
...
* LinGui: fix saving default presetJohn Stebbins2016-03-271-1/+4
| | | | The default flag was getting lost
* LinGui: fix crash when no preset selected and scan new sourceJohn Stebbins2016-03-271-22/+25
|
* presets: fix import of old version-less preset filesJohn Stebbins2016-03-211-5/+5
| | | | | The version number was not added after import causing an attempt to do import conversions twice. The second conversion breaks values.
* LinGui: clean up copyright and license commentsJohn Stebbins2016-01-031-0/+10
|
* Update copyright dates to 2016.Bradley Sepos2016-01-011-1/+1
|
* LinGui: Fix duplicate preset name creationJohn Stebbins2015-10-291-1/+30
| | | | | Don't allow presets with the same name in the same folder. If duplicate found, append "(N)" to the name.
* LinGui: show warning dialog when loading backup presetsJohn Stebbins2015-10-091-8/+29
|
* LinGui: make preset backups when import upgrades presetsJohn Stebbins2015-10-091-6/+43
| | | | | And attempt to load a backup if we recognize that presets were written with a more recent version of HandBrake than what is currently running.
* Make deinterlace/decomb behave similar to nlmeans/hqdn3dJohn Stebbins2015-10-091-2/+2
| | | | | I.e. use a dropdown to select between the filters instead of a radio button.
* LinGui: don't save custom presets in a built-in folderJohn Stebbins2015-08-251-1/+1
|
* LinGui: fix a scrolling issue in presets panejstebbins2015-08-181-23/+2
| | | | | | | Expanding a folder was causing the pane to scroll back to the currently selected preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7403 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: load builtin-presets if I fail reading the presets filejstebbins2015-07-291-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7385 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix use of out of scope variable through pointerjstebbins2015-07-291-8/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7383 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a couple of memory leaksjstebbins2015-06-011-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7254 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix setting "autoscale" widget value from presetjstebbins2015-05-291-2/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7242 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to initialize job...jstebbins2015-05-271-27/+22
| | | | | | | ...and set some job settings as values change in the UI. This eliminates a large chunk of job setup code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to init audio and subtitle listsjstebbins2015-05-201-33/+39
| | | | | | | This eliminates a lot of essentially duplicate code in LinGui for initializing these lists. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7213 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rename json preferences file ...jstebbins2015-05-141-2/+4
| | | | | | ... so it doesn't overwrite old format plist file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7180 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: use libhb preset management from linux guijstebbins2015-05-141-2928/+1117
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb,cli: add preset management to libhb, use it in clijstebbins2015-05-061-89/+88
| | | | | | | | This results in custom preset support in the CLI and additional command line options to fully support all preset keys. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7158 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix parent of preset delete dialogjstebbins2015-04-041-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7051 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more refactoringjstebbins2015-04-031-171/+130
| | | | | | | mostly moving "settings" stuff to "values" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7047 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refactor dict valuesjstebbins2015-04-031-385/+311
| | | | | | | makes most dict methods a simple passthru to hb_dict git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7046 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix UI issue with x264Option updatesjstebbins2015-03-251-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7012 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: clean settings better before writing to presets filejstebbins2015-03-071-2/+29
| | | | | | | Some internal settings were getting written out to the presets file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6972 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add methods for reading and writing json config filesjstebbins2015-03-061-47/+68
| | | | | | | | queue, preferences and app resources are now stored in json. presets are not yet stored as json, pending sync with other platforms git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6970 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change settings dict from glib to janssonjstebbins2015-03-061-430/+426
| | | | | | | | This will allow for preferences, presets, and queue files to be written as json instead of plists (currently still plists). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6968 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update year to 2015jstebbins2015-02-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6875 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix parent window of dialogsjstebbins2015-01-111-2/+8
| | | | | | | libgtk has started complaining about floating dialogs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6734 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make more strings translatablejstebbins2014-11-071-14/+15
| | | | | | | Thanks to Уважением Виктор (aka victor) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6508 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix several small memory leaksjstebbins2014-10-291-22/+18
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6479 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix preset save dialog width&heightjstebbins2014-09-041-4/+3
| | | | | | | Fields were not enabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6391 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add translation for old x264OptionExtra preset keyjstebbins2014-08-191-0/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6316 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: generalize video preset/tune/profile/level handlingjstebbins2014-08-121-23/+53
| | | | | | | | This generalization enables x265 preset/tune/profile/level which did not work previously. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6293 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui/CLI/libhb: add nlmeans denoise filter to linguijstebbins2014-07-211-3/+6
| | | | | | | Move nlmeans preset&tune parsing from cli to libhb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6239 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: layout changesjstebbins2014-05-201-10/+0
| | | | | | | | Reduce height of presets list box. This allows room for making settings tabs wider. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6199 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove legacy preset key UsesMaxPictureSettingsjstebbins2014-02-271-3/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6087 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix another preset loading problemjstebbins2014-02-261-134/+141
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6086 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some preset loading issuesjstebbins2014-02-251-14/+51
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6081 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use hb_video_encoder_get_presets()jstebbins2014-02-231-3/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6075 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework how hb titles are referenced from linguijstebbins2014-02-231-1/+1
| | | | | | | Provides a less cryptic interface to identifying and looking up hb titles. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6064 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix range update issues and plug memory leaksjstebbins2014-02-211-8/+17
| | | | | | | | 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: fix several issues with loading presetsjstebbins2014-02-201-582/+375
| | | | | | pull on a string and the whole sweater comes apart git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6048 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework title listjstebbins2014-02-191-411/+291
| | | | | | | | | | | | | | 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-225/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+3
| | | | | | | 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: fix deprecated GTK_STOCK_*jstebbins2014-01-141-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5968 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix preset import/exportjstebbins2013-06-061-188/+189
| | | | | | | Use the new translation mechanisms supplied by libhb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5569 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't expose rate, mixdown, dither and encoder arrays to the UIs.Rodeo2013-05-301-24/+102
| | | | | | | | | | | | | | | | | | | | - instead, make these lists available through enumerators: --> hb_*_get_next(<type> *last); - this should give us more flexibility to populate the lists at runtime, using the implementation(s) of our choice, whether they use arrays or not, without requiring UI modifications - use consistent naming for getters --> hb_get_best_foo() becomes hb_foo_get_best(), and so on - hb_*_get_from_name() and hb_*_ sanitize_name() sanitize the requested value to a supported one if it's unavailable - adds an additional, passthru-specific fallback mechanism - adds a list of video containers git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5526 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: silence some compiler warningsjstebbins2013-01-051-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5150 b64f7644-9d1e-0410-96f1-a4d463321fa5