summaryrefslogtreecommitdiffstats
path: root/gtk/src
Commit message (Collapse)AuthorAgeFilesLines
* add audio defaults and limits calculation to libhbjstebbins2010-10-083-127/+41
| | | | | | | | | | | | | | | 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-062-17/+8
| | | | 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-063-19/+33
| | | | 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-052-15/+5
| | | | | | | 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-054-52/+99
| | | | | | | 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-047-109/+179
| | | | | | | Uses ffmpeg's ac3 encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3570 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some text alignment issues on the picture summary tabjstebbins2010-09-304-473/+464
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3559 b64f7644-9d1e-0410-96f1-a4d463321fa5
* SSA subtitle burn injstebbins2010-09-283-36/+59
| | | | | | | | | | Anime fans rejoice! This patch adds SSA subtitle burn-in support with libass. Therefore SSA subtitles should now be rendered in full quality, with the appropriate embedded fonts and positioning information. Thanks to davidfstr git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3557 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: try other gstreamer sink interfaces if gconfvideosink failsjstebbins2010-09-151-2/+8
| | | | | | | It appears that gconfvideosink may not work on kde systems. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3534 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
* Bump ffmpeg from 22950 to 25082jstebbins2010-09-142-7/+2
| | | | | | | | | | | | | | It's been 5 months since an ffmpeg bump. One negative is that we loose LATM support. The LATM patch is just impossible to apply anymore since ffmpeg dropped support for using the external faad lib. There are ifdef's in the code should anyone wish to revert to an earlier ffmpeg and enable LATM. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3526 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix UI problem with trellis cavlcjstebbins2010-09-131-4/+0
| | | | | | | | forgot to remove some code that removed trellis from the option string when cabac is disabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3524 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Bluray supportjstebbins2010-09-086-8/+64
| | | | | | | | | | | | | | | | | | Unencrypted BD directory trees only. Doesn't support iso images. Also, no PGS subtitle support yet. Chapters and angles are supported. Adds a new contrib libbluray. Adds new option to hb_scan() for duration of short titles to filter. This applies to BD and DVD multi-title scans only. Does not apply to any single title scans. Fixes memory leak during scan. hb_buffer_close() was not freeing all buffers in a chain of buffers passed to it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: simplify source selection dialogjstebbins2010-09-052-89/+13
| | | | | | | | I don't need the checkbox to toggle file/folder selection mode anymore (at least on ubutnu, fedora is just fubar anyway). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3507 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change how native tools are built in a cross compiling environment.jstebbins2010-08-251-0/+13
| | | | | | | | Was using hb's core build system for these tools. Now using accepted practice in autoconf for native tools. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3494 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow trellis and psy-trellis with cavlc in preparation for nextjstebbins2010-08-241-2/+0
| | | | | | | x264 bump. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3491 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix some preset issuesjstebbins2010-07-031-25/+9
| | | | | | | | | | | add b-pyramid=none to appletv presets and remove b-pyramid hack from encx264.c change samplerate from 48 to 'Auto' in all presets cap samplerate to 48khz since none of the encoders support higher rates remove obsolete UsesMaxPictureSettings from all presets. replace with UsesPictureSettings=2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3424 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: improvements to maxWidth/maxHeight preset guijstebbins2010-06-293-70/+270
| | | | | | | | | | 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-286-33/+124
| | | | | | | | | | | | | | 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-264-14/+22
| | | | | | | | | | | 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: fix audio preset initializationjstebbins2010-06-243-5/+41
| | | | | | | | | | 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 aq-strength slider range. should be 0-2, not 0-1jstebbins2010-06-201-1/+1
| | | | | | | Thanks Rodeo for pointing that out. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3401 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add jbrjake's new iPad presetjstebbins2010-06-202-16/+105
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3397 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add peak framrate checkbox to video tabjstebbins2010-06-184-3/+25
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3391 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change psy_trellis increments to 0.05jstebbins2010-06-182-34/+38
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3387 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: revert part of the resource management changes of r3382jstebbins2010-06-174-38/+40
| | | | | | | | Since fedora's pygtk is broken, I can't parse gdk_pixbuf's with python. So revert to doing this in C code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3386 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: changes to resource preprocessorjstebbins2010-06-153-32/+30
| | | | | | | | | | | | | | | During the build, I was compiling tools for preprocessing and packaging the gui description xml, preset defaults, widget dependencies, and icons. The resulting resource_data.h file gets compiled into the binary. These tools are now implemented in python. This eliminates the need to compile the tools which caused complications when cross compiling. This work was actually done many months ago. But all the distributions I wanted to support didn't have the libplist python module. Now they all do. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3382 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refresh x264 tabjstebbins2010-06-155-746/+974
| | | | | | | | | | | | | | | | | updated layout, labeling & tooltips group options by encoding features, analysis options, and psychovisual options change b-pyramid from checkbox to combo box to support None, Strict, and Normal options expand psy-rd slider range to 0-2 (was 0-1) relabel "Analysis" to "Partitions". Add new "Most" option to Partitions that is the same as the old "Some" Change "Some" option of Partitions to mean i4x4:i8x8 add weightp combo add adaptive quantization strength slider remove weightb checkbox remove no-fast-pskip checkbox git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3381 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: initialize srt language with preferred language from preferncesjstebbins2010-06-091-2/+4
| | | | | | | whenever a new srt is added to the subtitle list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3374 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove debug printfjstebbins2010-06-081-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3371 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some problems i introduced with the recent audio tab changesjstebbins2010-06-082-55/+193
| | | | 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-074-194/+179
| | | | | | | | | 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 stupid thinko in yesterdays audio panel changesjstebbins2010-06-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3366 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some spam in the log about hash item not foundjstebbins2010-06-063-0/+5
| | | | | | | 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-064-22/+41
| | | | | | | | | | 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
* LinGui: make Help->Guide work on windows/mingwjstebbins2010-06-041-0/+5
| | | | | | | Call win api ShellExecute to open url in default browser. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3350 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add SSA subtitle supportjstebbins2010-06-013-61/+38
| | | | | | | Thanks to davidfster git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3342 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: tweak the ui to accommodate universal subtitle inputjstebbins2010-05-293-20/+50
| | | | | | | | don't show burned or forced fields for non-vobsubs show subtitle type in the subtitle track combo box git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3332 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add support for Nero vobsubs in mp4jstebbins2010-05-242-40/+2
| | | | | | | | | | | Note that these do not work with any apple products that I know of. Perian might be able to do something with them. MPlayer and VLC both grok nero vobsubs. libhb, cli, and lingui updated. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3325 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add option to completely disable update checkingjstebbins2010-05-244-3/+16
| | | | | | | | | configure --disable-gtk-update-checks removes the code that does update checks including the webkit library used for displaying the appcast. this is useful when packaging for a repository that has it's own update mechanism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3323 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix crash when processing appcastjstebbins2010-05-241-1/+4
| | | | | | | If the network read request fails to return any data, I referenced a NULL pointer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3321 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix stderr redirection on mingw. dup2 function doesn't work as it should so ↵jstebbins2010-05-231-0/+5
| | | | | | | | | must reach inside stderr struct and modify _file member directly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3318 b64f7644-9d1e-0410-96f1-a4d463321fa5
* allow mono mixdown with lame encoderjstebbins2010-05-131-3/+3
| | | | | | | | | | enable mono mode in lame encoder when mixdown is mono. use lame_encode_buffer_float instead of lame_encode_buffer_interleave. this eliminates the clipping issue in lame without reducing the level of the input. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3294 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: drop dependency on hal, use udev insteadjstebbins2010-04-275-83/+36
| | | | | | | | 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: fix possible live preview failure with gtk 2.18jstebbins2010-04-211-0/+13
| | | | | | | | | according to the doc's you must call gdk_window_ensure_native() before getting the X11 XID for the window. this is the only way to guarantee that the window is native and has an XID. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3249 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add dvd main feature title detectionjstebbins2010-04-201-3/+6
| | | | | | | | | | | | scans the dvd menus and presses buttons to see where they might lead. when a button press leads to a title, i check to see if it is the longest seen thus far and save it's index. this only applies when dvdnav is enabled. when dvdread is in use, the longest title of all the titles is flagged as the "main feature" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3245 b64f7644-9d1e-0410-96f1-a4d463321fa5
* patch to allow higher bitrates with faacjstebbins2010-04-142-5/+10
| | | | | | | 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 mingw build issuejstebbins2010-04-142-14/+69
| | | | | | | 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: forgot to keep the activity logs distinct for multiple instancesjstebbins2010-04-091-2/+58
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3213 b64f7644-9d1e-0410-96f1-a4d463321fa5