summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: fix a problem with display of audio gain value.jstebbins2011-04-171-2/+4
| | | | | | | Was not updating properly, showed -1 and -0 when should have been 0. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3936 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio gain adjustment and create advanced audio dialog.jstebbins2011-04-051-16/+79
| | | | | | | | | 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-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
* LinGui: update copyright datesjstebbins2011-01-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix hb_get_best_mixdown to allow downmixing 7.1 to 5.1jstebbins2010-11-051-0/+1
| | | | | | | | Use hb_get_best_mixdown in places in the LinGui that were duplicating code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix a problem with updating mixdown combojstebbins2010-11-031-1/+7
| | | | | | | | The first time the codec combo changes, the mixdown didn't get sanitized and updated. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3644 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix race condition in audio settingsjstebbins2010-10-171-0/+12
| | | | | | | | | changing an audio setting causes validation of bitrate to be triggered. the validation needed to be delayed till after all settings have been initialized. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3605 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix audio codec updating when track is changedjstebbins2010-10-141-0/+8
| | | | | | | | When the track changes, the fallback or passthru codec may need recalculating. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3602 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix infinite recursion issue in audio bitrate handlingjstebbins2010-10-141-5/+9
| | | | | | | | | adding a bitrate (that isn't in the standard set of bitrates supported by handbrake) to the bitrate combo for a passthru codec caused a cascade of errors. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3601 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some audio list display problemsjstebbins2010-10-091-60/+40
| | | | | | | and try to clean up the code a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3589 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add audio defaults and limits calculation to libhbjstebbins2010-10-081-10/+38
| | | | | | | | | | | | | | | hb_get_audio_bitrate_limits() Get the bitrate limits for a (codec,samplerate,mixdown) triplet hb_get_best_audio_bitrate() Given an input bitrate, sanitize it. Check low and high limits and make sure it is in the set of allowed bitrates. hb_get_default_audio_bitrate() Get the default bitrate for a given (codec,samplerate,mixdown) triplet git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3578 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove more duplicate code relating to min/max audio bitratesjstebbins2010-10-061-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3576 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: centralize min/max audio bitrate limit calculation to one placejstebbins2010-10-061-19/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3575 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem where I used the wrong aac bitrate capjstebbins2010-10-051-3/+4
| | | | | | | wasn't allowing higher bitrate for aac 6ch in some cases. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3574 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a display problem in the audio listjstebbins2010-10-051-22/+16
| | | | | | | 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-32/+82
| | | | | | | Uses ffmpeg's ac3 encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3570 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove the 8 audio limit. isn't needed anymore.jstebbins2010-09-151-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3531 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix audio preset initializationjstebbins2010-06-241-5/+22
| | | | | | | | | | sometimes audio settings were to being initialized correctly to the values in the preset. some code that sets reasonable values when the encoder changes from passthru to non-passthru was getting invoked and overwriting the preset values. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3403 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some problems i introduced with the recent audio tab changesjstebbins2010-06-081-4/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3370 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework some of the logic behind the audio tab handlerjstebbins2010-06-071-119/+84
| | | | | | | | | 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: fix some spam in the log about hash item not foundjstebbins2010-06-061-0/+2
| | | | | | | audio encoder item wasn't always getting initialized git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3365 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Improvements to audio paneljstebbins2010-06-061-14/+32
| | | | | | | | | | When codec is "Choose for me", show the codec chosen in the list, but leave the combo box showing "Choose for me". This way, if the user saves the settings in a new preset, the audio codec saved remaines 'auto' instead of reverting to the codec that was chosen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3361 b64f7644-9d1e-0410-96f1-a4d463321fa5
* patch to allow higher bitrates with faacjstebbins2010-04-141-2/+2
| | | | | | | 2 channel allows up to 320kbps, 6 channel allows up to 768kbps git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3222 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)jstebbins2010-02-231-1/+1
| | | | | | | | | | | gtk 2.19 has changed how object id's are stored by gtkbuilder. The widget name is no longer assigned to the builder object id. Instead the id is stored in a special property. Getting incorrect object id's caused all settings values to be referenced incorrectly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3135 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: enhancements to automatic audio selection when passthru is requestedjstebbins2009-11-241-30/+46
| | | | | | | and the source codec isn't capable of passthru. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2969 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make smarter bitrate choice when automatically selecting audio settingsjstebbins2009-11-241-2/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2967 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: set minimum bitrate to 192kbps when codec is faac and mix is 6-chjstebbins2009-11-181-6/+9
| | | | | | | | If you ask faac for less than 192kbps with 6ch audio, you will get 192 anyway. This throws off target size estimates if target size was used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2941 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: set max bitrate for 6ch faac to 448kbpsjstebbins2009-10-041-5/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2864 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix mbtree/b-pyramid dependency issuejstebbins2009-09-301-6/+6
| | | | | | | make sure b-pyramid gets set to insensitive when mbtree is enabled git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2858 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix audio codec descriptionjstebbins2009-09-301-2/+0
| | | | | | | 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: jstebbins2009-09-091-8/+24
| | | | | | | | show the correct audio codec in the audio list when it has been changed because of incompatibility with source codec or output format git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: improve "auto" audio selectionjstebbins2009-09-091-2/+5
| | | | | | | | picks the "best" audio (according to my personal criteria of what's best) given the input codec and output formats. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2811 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change mp4 extension to m4v if there are any soft subtitlesjstebbins2009-08-241-0/+1
| | | | | | | yet another qt boneheadism git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2775 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add preference option for iPod/iTunes friendly m4v extensionjstebbins2009-06-251-14/+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: preference improvementsjstebbins2009-06-241-1/+1
| | | | | | | | | | - move PreferredLanguage and AudioDUB from audio tab to preferences - move CRF vs. CQP option from video tab to preferences - reorganize preferences into categories (general, audio, advanced) - add blank spaces to unclutter preferences some. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2615 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio-dub/add-subtitle radio buttons for preferred language controljstebbins2009-06-221-2/+22
| | | | | | | | | | - When Audio DUB is enabled, behavior is essentially unchanged - When Add Subtitle is enabled, a subtitle of the preferred language will be added to the subtitle list when the preferred language does not match the first audio track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove the big jump in the drc slider when going from 1.0->Offjstebbins2009-06-101-25/+19
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with parameters to a signal that caused segfaultsjstebbins2009-06-091-3/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2508 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: dim the drc label along with the control when passthru is selectedjstebbins2009-06-081-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2505 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: replace drc hscale with scalebuttonjstebbins2009-06-081-5/+17
| | | | | | | | | scale button pops up a scale when needed, so is more compact. audio settings now all fit in one row. this opens the possibility of making the audio tab behave more like the mac ui's git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2503 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow up to 99 audio tracks since libhb now supports that manyjstebbins2009-06-081-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2501 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add "auto" passthru audio optionjstebbins2009-04-281-1/+6
| | | | | | | | | This selects the "best" ac3 *or* dts track for passthru i got tired of my encodes ending up with stereo ac3 instead of 6ch dts because I forgot to verify the audio before starting an encode git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2358 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: merge gtk mingw cross compiling supportjstebbins2009-04-161-9/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2332 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make drc slider jump from 0 to 1, skipping intermediate valuesjstebbins2009-02-061-1/+23
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2128 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add support for 0 DRCjstebbins2009-02-061-4/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2123 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: tweak how audio choices are made againjstebbins2009-01-251-16/+13
| | | | | | | | | prefer audio tracks with more channels prefer audio tracks that are not for visually impaired or director's commentary git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2096 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix how an audio is chosen after a source is scanned or the presetjstebbins2009-01-241-6/+3
| | | | | | | | | | | selection changes. It wasn't honoring the preferred language or matching the codec when passthru is selected. Also checking in the ui changes needed for dts pasthru. The option is disabled until we get libhb support. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2094 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix me_method/me_range dependencyjstebbins2008-12-061-2/+2
| | | | | | | | umh, esa, tesa -- me_range 4 - 64 dia, hex -- me_range 4 - 16 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2015 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: live preview.jstebbins2008-11-241-0/+6
| | | | | | | | | | this adds new prerequisites to the build. now needs: gthread-2.0, gstreamer-0.10, gstreamer-interfaces-0.10, gstreamer-video-0.10, gstreamer-pbutils-0.10 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Make preset key/values mostly align with macui presets.jstebbins2008-10-171-98/+98
| | | | | | | | | One step closer to having a common preset format. Audio presets are still not compatible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1840 b64f7644-9d1e-0410-96f1-a4d463321fa5