summaryrefslogtreecommitdiffstats
path: root/gtk/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* LinGui: allow multiple instances of the gui to runjstebbins2010-04-094-21/+162
| | | | | | | | | | | | 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 crash when subtitle list has an invalid subtitlejstebbins2010-04-061-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3203 b64f7644-9d1e-0410-96f1-a4d463321fa5
* downmix support for ffmpeg audio sourcesjstebbins2010-04-021-11/+2
| | | | | | | | now we can eat our own dogfood. i.e. aac 6ch discrete input now works, along with any other multi-channel audio ffmpeg can toss at us. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3182 b64f7644-9d1e-0410-96f1-a4d463321fa5
* make it possible to dynamically create and close multiple libhb instancesjstebbins2010-03-262-5/+4
| | | | | | | | | | tweaks to make libhb more usable from a C# app remove pointers from preview filenames, replaces with hb instance and title id's removes only previews upon hb_close, leaves temp dir for hb_global_close git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3170 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use a more portable, elegant way of redirecting stderr to pipejstebbins2010-03-141-5/+2
| | | | | | | Thanks to scsi guy for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3168 b64f7644-9d1e-0410-96f1-a4d463321fa5
* improve lame audio quality by using ABR mode and disabling joint stereo modejstebbins2010-03-141-9/+2
| | | | | | | add mp3 muxing into mp4 container. cli and gtk gui now support this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3167 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix crash when necessary gstreamer plugin is not installedjstebbins2010-03-142-12/+37
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3166 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix an issue with hud widget sytle overridesjstebbins2010-03-111-1/+8
| | | | | | | | The overrides are based on widget name, and the names are no longer being set by GtkBuilder. So I have to set them myself. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add 'orientation vertical' property to GtkVBoxjstebbins2010-03-101-0/+54
| | | | | | | | Works around a bug in the Glade-3 ui layout tool. It shows VBoxs as if they were HBoxs if this property is not set. libgtk has no such issue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3158 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: let's try fixing hud expose rendering againjstebbins2010-02-232-4/+5
| | | | | | | the last try showed widgets on the hud that should have stayed hidden git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3137 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix hud expose event renderingjstebbins2010-02-232-3/+6
| | | | | | | | | another "change" in gtk causes "hidden" widgets to be rendered with reduced opacity instead of zero opacity. So check the visibility of the widgets manually and skip the hidden ones. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3136 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)jstebbins2010-02-237-30/+25
| | | | | | | | | | | 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: 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
* Adjustable picture modulus: Base patch by BradleyS, Thanks BradleyS!dynaflash2010-02-111-4/+4
| | | | | | | - Enables setting modulus for all anamorphic modes (including non-anamorphic) except strict. The job variable "anamorphic.modulus" is repurposed for this and is renamed to simply "modulus" - Other changes: Increases minimum output dimensions to 32x32 pixels in libhb (prevents possible crashes, notably in macgui). Better crop value and maximum crop value calculations to prevent crashes. Some code optimization / refactoring. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3113 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add vbv settings to appletv presetjstebbins2010-02-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3111 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: remove % display from video quality slider. only show RF/QPjstebbins2010-02-061-10/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3099 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix cancel during p-to-p searchjstebbins2010-01-201-8/+6
| | | | | | | | | when canceling, video sync was closed, but audio sync was stuck waiting on a condition variable. so force audio sync to wake up when video sync closes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3078 b64f7644-9d1e-0410-96f1-a4d463321fa5