summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: generalize initialization of Combo boxesJohn Stebbins2015-10-011-1/+1
|
* LinGui: fix problem with audio bitrate/quality widgetsJohn Stebbins2015-08-261-2/+2
| | | | | Uninitialized variables caused these widgets to be disabled under random circumstances.
* LinGui: fix sensitivity of audio quality/bitrate widgetsjstebbins2015-08-201-199/+219
| | | | | | These were still enabled for flac when they should not have been. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7405 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to initialize job...jstebbins2015-05-271-52/+15
| | | | | | | ...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-204/+125
| | | | | | | 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: more audio refactoringjstebbins2015-05-181-153/+173
| | | | | | | Since the audio list is now in the proper format for json job, simply copy the audio list when creating the job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7209 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: audio pane refactoringjstebbins2015-05-151-132/+167
| | | | | | | | | | | - Use dict keys that align with job in audio list. - Fix quality for encoders with inverted quality scale like lame. - Fix disabling of audio passthru options that do not apply to the current input audio track. - Fix enable/disable of quality widgets - Fix random failure to change audio encoders in audio settings popup git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7190 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix issue with editing audio or subtitlesjstebbins2015-04-301-0/+14
| | | | | | | The edited settings were having unpredictable effects on loading default audio or subtitle settings when a new source was scanned. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7137 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: adjust tooltip line alignmentsjstebbins2015-04-221-7/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7116 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more refactoringjstebbins2015-04-031-132/+128
| | | | | | | 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-32/+32
| | | | | | | 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: update generation of audio copy mask with new copy optionsjstebbins2015-03-181-5/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7002 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add methods for reading and writing json config filesjstebbins2015-03-061-8/+0
| | | | | | | | 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-91/+91
| | | | | | | | 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: random clean-upsjstebbins2015-03-051-7/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6964 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix sanitizing audio list after container changejstebbins2015-02-171-92/+80
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6917 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make fallback audio encoder selection use libhb functionjstebbins2015-02-161-20/+13
| | | | | | | This way I don't have up update this every time new codecs are added. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6912 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: mark more strings translatablejstebbins2014-11-171-6/+6
| | | | | | | Thanks to Уважением Виктор (aka victor) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6524 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make more strings translatablejstebbins2014-11-051-23/+23
| | | | | | | Thanks to Уважением Виктор (aka victor) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6505 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix more gtk deprecationsjstebbins2014-10-281-3/+6
| | | | | | | | gtk_misc is deprecated, use new alignment capabilities of gtk_widget gdkcolor is deprecated, use gdkrgba git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6472 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix initialization of audio quality widget limitsjstebbins2014-08-111-18/+16
| | | | | | | | | When opening the audio edit dialog for a track in the audio list, the audio quality was set to a bad value because the limits were not set correctly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6291 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix a problem with audio quality sliderjstebbins2014-08-111-14/+34
| | | | | | | | It was getting reset to default value every time another audio widget changed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6290 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: work around bug in GtkScaleButtonjstebbins2014-07-151-42/+54
| | | | | | | | | When the button value is updated programatically, the update event is not sent and therefore the label is not updated. So update the label manually instead of relying on the event to trigger the update. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: svg'ify several iconsjstebbins2014-03-171-1/+1
| | | | | | | and enable embedding of svg icons in the binary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6118 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove libfaacsr552014-03-021-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6094 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix race condition crasher in subtitle/audio listsjstebbins2014-02-251-0/+5
| | | | | | | | | | clearing a tree view caused selection to change while clearing (and before clearing is complete). The selection change triggered an update that attempted a recursive tree view clear. Since the first clear leaves the tree view in an inconsistant state till it finished, this causes a crash. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6083 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: UI layout changesjstebbins2014-02-251-3/+3
| | | | | | | Make some things fit a little better and make room for additional auto passthru options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6082 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: simplify audio track referencesjstebbins2014-02-241-19/+29
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6078 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework how hb audio bitrate is referenced by linguijstebbins2014-02-231-17/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6073 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework how hb samplerate is referenced from linguijstebbins2014-02-231-16/+20
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6072 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework how hb audio mixdowns are referenced from linguijstebbins2014-02-231-33/+35
| | | | | | Cleans up interface and fixes faulure to use fallbacks properly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6070 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework how hb audio encoders are referenced from linguijstebbins2014-02-231-47/+45
| | | | | | Cleans up the interface and fixes failure to use fallbacks properly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6068 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework how hb containers are refrenced from linguijstebbins2014-02-231-16/+37
| | | | | | Cleans up the interface and fixes failure to use fallbacks properly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6067 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework how hb titles are referenced from linguijstebbins2014-02-231-37/+63
| | | | | | | 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: add dialog to select multiple titles to add to queuejstebbins2014-02-221-19/+10
| | | | | | | | Replaces "Add All to Queue". Dialog provides checkboxes to select titles to add to the queue and file chooser/file entry to change destination file names. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6056 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix range update issues and plug memory leaksjstebbins2014-02-211-1/+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: fix several issues with loading presetsjstebbins2014-02-201-11/+9
| | | | | | 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-82/+12
| | | | | | | | | | | | | | 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-532/+1680
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* decavcodec: DRC support.Rodeo2014-01-251-0/+32
| | | | | | | Adds DRC support for E-AC-3 audio (as well as any future libavcodec decoders with DRC support). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5995 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: mark more strings as translation candidatesjstebbins2013-08-011-5/+6
| | | | 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: use hb_audio_quality_get_default() to show/hide quality widgets.jstebbins2013-06-151-0/+22
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5583 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't expose rate, mixdown, dither and encoder arrays to the UIs.Rodeo2013-05-301-20/+22
| | | | | | | | | | | | | | | | | | | | - 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: Fix a bug in audio paneljstebbins2013-05-091-0/+2
| | | | | | | | When changing the output track selection, the available bitrates and mixdowns did not update properly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5448 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix gtk3 subtitle and audio list issuejstebbins2013-01-291-5/+12
| | | | | | | | | | | The wrong subtitle or audio track was sometimes getting removed from the list when the remove button was pressed. The sequence of widget callbacks changed is such a way as to require some small rearrangement of code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5222 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix compatibility with GTK versions < 2.32jstebbins2013-01-151-3/+3
| | | | | | | | Ubuntu 11.04 and 11.10 use this and I'm not quite ready to drop support for these. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5172 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix issue with FLAC24 fallbackjstebbins2013-01-061-23/+1
| | | | | | | Was setting lame as fallback when flac24 fallback was set. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5154 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