summaryrefslogtreecommitdiffstats
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* libhb: Fix problem with positions of burned-in subsjstebbins2012-05-051-1/+4
| | | | | | | | | | | | | | | | | When cropping and/or scaling, the position of burned-in SSA subs was broken. Also, when scaling, the position of all other burned-in subs was broken. Part of this fix is to revert a bit of filter initialization changes that were made in this commit https://trac.handbrake.fr/changeset/4605 The other part of the fix is to add cropping parameters to the initialization of the subtitle rendering filter. This filter needs the *original* title dimensions and the crop values in order to compute the positions properly. The changes that I am reverting gave it the scaled job dimensions and the crop values. This was wrong in so many ways it's embarassing :p git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4642 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use "allowed passthru" options even when hidden by preference optionjstebbins2012-05-051-12/+1
| | | | | | | | If you don't do this, then presets that use these will not function as advertised. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4640 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Enable advanced options entry box for mpeg4 codecjstebbins2012-05-051-1/+1
| | | | | | | This broke when I renamed the internal value from "ffmpeg" to "ffmpeg4" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4638 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix incorrect PAR in loose anamorphic modejstebbins2012-05-021-6/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4629 b64f7644-9d1e-0410-96f1-a4d463321fa5
* don't do combing check twice per frame when bobbingjstebbins2012-05-011-0/+2
| | | | | | | and fix saving bob setting in LinGui presets git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4626 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: bob deinterlacingjstebbins2012-05-011-5/+7
| | | | | | | | This is jbrjake's patch for bob deinterlacing applied to decomb and deinterlace filters. Thanks to yeasah's for refinements and testing of this patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4625 b64f7644-9d1e-0410-96f1-a4d463321fa5
* merge assorted fixes provided by Rogerio Britojstebbins2012-05-013-3/+10
| | | | | | | | Pretty much all resource cleanup issues on error condition handling. Thanks Rogerio! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4620 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem with fallback audio encoder selectionjstebbins2012-04-271-4/+6
| | | | | | | sanitizing for mkv was broken and sanitized out vorbis and flac git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4607 b64f7644-9d1e-0410-96f1-a4d463321fa5
* PGS (bluray) subtitle support \o/jstebbins2012-04-265-90/+95
| | | | | | | | | | | | Thanks to patches supplied by David Mitchell and Rob McMullen we finally have PGS support. I added a fix for libav pgs timestamp processing and detection of forced subtitles to their work, then made foreign audio search work with PGS subs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4605 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow the user to select and use a bitrate for audio autopassthrujstebbins2012-04-261-12/+1
| | | | | | | | If the fallback encoder is used, the user should be able to set the bitrate that is used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4604 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix queue display problem with "same as source (constant)" frameratejstebbins2012-03-311-6/+16
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4566 b64f7644-9d1e-0410-96f1-a4d463321fa5
* encx264: use x264_param_apply_fastfirstpass.Rodeo2012-03-281-52/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4551 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Rework filter pipelinejstebbins2012-03-271-72/+78
| | | | | | | | | | | | | | | | | | | | This patch enhances the filter objects. The 2 key improvements are: 1. A filter can change the image dimensions as frames pass through it. 2. A filter can output more than one frame. In addition, I have: Moved cropping & scalling into a filter object Added 90 degree rotation to the rotate filter Moved subtitle burn-in rendering to a filter object. Moved VFR/CFR handling into a framerate shaping filter object. Removed render.c since all it's responsibilities got moved to filters. Improves VOBSUB and SSA subtitle handling. Allows subtitle animations. SSA karaoke support. My apologies in advance if anything breaks ;) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4546 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix default value for fallback audio encoder for autopassthrujstebbins2012-03-261-1/+1
| | | | | | | incorrect string caused fallback to go to aac instead of ac3 as it should. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4544 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add HB_INVALID_AUDIO_QUALITY define. -1 is valid for Vorbis VBR and thus ↵Rodeo2012-02-213-6/+6
| | | | | | | | | | doesn't work for this purpose. Fixes Vorbis VBR with --aq < 0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4461 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix audio gain and quality icon display.jstebbins2012-02-211-10/+10
| | | | | | | Accidentally broke when adding tabs to make things "prettier" :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4460 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Oops, disabled more widgets than I meant tojstebbins2012-01-142-360/+385
| | | | | | Only disable the auto-passthru widgets, not gain, quality, drc, ... git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4411 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add preference to enabled auto passthru optionsjstebbins2012-01-145-54/+107
| | | | | | | | The advanced auto passthru options are probably overkill for 90% of people. So simplify the UI by hiding them unless the user explicitly asks for them in preferences. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4410 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: replace references to "Rip" with encode or transcodejstebbins2011-11-143-6/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4349 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix initial subtitle selectionjstebbins2011-11-011-2/+6
| | | | | | combo box selection was not getting initialized, so showed no selection. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4335 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add index to audio descr in audio listjstebbins2011-11-011-4/+14
| | | | | | | Audios that have identical descriptions are difficult to distinguish in the audio list. So add the track index to the display. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4334 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with height controljstebbins2011-10-312-1/+4
| | | | | | | Attempting to increase the height would revert back to previous setting due to rounding problems. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4333 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow vorbis quality to go down to -0.2jstebbins2011-10-311-1/+1
| | | | | | | Bizzaro vorbis allows negative quality factors. They go to 11 in the wrong direction. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4332 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix "Auto" audio encoder selectionjstebbins2011-10-291-1/+1
| | | | | | | When a fallback encoder is chosen, the actual encoder used should show up in the audio list, but "Auto" should remain selected in the dropdown. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4327 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem saving flac audio in presetjstebbins2011-10-281-2/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4325 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix couple audio bitrate display problemsjstebbins2011-10-252-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4318 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add "Fast" decomb optionjstebbins2011-10-222-0/+2
| | | | | | | Adds a fast decomb option that uses the decomb settings that were the defaults before the introduction of decomb3. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4309 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix function parameters to GtkScaleButtonsjstebbins2011-10-171-7/+4
| | | | | | Missing parameter caueses crash on Mandriva and probably others. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4296 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: experimental support for batch queuingjstebbins2011-10-1615-416/+816
| | | | | | | | | This allows all titles in the title popup to be added to the queue in one go. It uses the current *preset* for the settings. I.e. settings changes in the UI are ignored. This deficiency will be rectified at a future time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4294 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix uninitialized variablejstebbins2011-10-161-1/+1
| | | | | | | Which lead to bizarre behavior on Oneiric git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4293 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix lame bitrate maxing out at 160jstebbins2011-10-151-5/+5
| | | | | | Must set the samplerate before trying to validate maximum bitrate. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4290 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add flac + quality + compression level supportjstebbins2011-10-129-278/+667
| | | | | | | | | Adds flac audio to cli, lingui, and macgui Adds quality and compression level options to cli Adds quality option to lingui Quality option works for vorbis and lame git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4281 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change window type hint for popup windowsjstebbins2011-10-071-3/+4
| | | | | | | Fedora 16 does not put a close button on windows that have the dialog hint. So change the hint to 'utility'. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4269 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some widget dependenciesjstebbins2011-09-301-12/+12
| | | | | | | When we added the audio tables that are now defining audio widget values I missed updating dependencies that enable/disable widgets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4264 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use monospace font for activity windowjstebbins2011-09-271-0/+6
| | | | | | makes text align as better and improves readability. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4258 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops, forgot to re-enable audio encodersjstebbins2011-09-241-34/+31
| | | | | | ... after they had been disabled for any reason git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4249 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use hb_*_encoders table to disable optionsjstebbins2011-09-241-5/+18
| | | | | | | Which encoders where active for which muxer was hard coded. Now it relies on the information in the encoder tables. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4248 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remember filter setting in source selection dialogjstebbins2011-09-232-7/+7
| | | | | | | | | I was resetting it every time the dialog is opened which is annoying if you are trying to open a collection of a single file type (e.g. TS files). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: tweak to loose cropjstebbins2011-09-201-6/+8
| | | | | | | | | I like how Yeasah ensures that top and left crop will be even pixel aligned in his cli patch. Do the same for the lingui. This ensures that even if the input crop values are not even pixel aligned, the result will be. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4240 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Auto Passthru and audio/video encoder lists.Rodeo2011-09-194-185/+276
| | | | | | | | | | | | | | This adds Auto Passthru as another encoder in libhb. Used in LinGUI and CLI. MacGUI features a partial impplmentation (with hardcoded values), which is disabled for now. Also, audio and video encoders are now stored in "lists", like we previously did for mixdowns. New mixdown "None" (HB_AMIXDOWN_NONE) added to hb_audio_mixdowns (was previously declared in MacGUI/LinGUI). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4237 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: ensure loose crop always crops even valuesjstebbins2011-09-191-4/+16
| | | | | | | | Subsampled chroma (i.e. yuv420) requires that you do all cropping on even boundaries and that the result has even dimensions. There were cases where my cropping could violate this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4236 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops! forgot to use existing filterjstebbins2011-09-191-2/+1
| | | | | | | | I was creating a new filter with pattern "*" when opening the source file chooser. Don't need to do that since I have a pre-existing one now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4235 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add source type filter to source dialogjstebbins2011-09-192-0/+122
| | | | | | | Lets you filter down the list to just the files you are interested in seeing. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4234 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Show video codec name in summary tabjstebbins2011-09-014-10/+46
| | | | | | | | | | I found myself wanting to know what the source video codec was when I discovered that several of my VC-1 trancodes were crap. So this adds the video codec name to the summary information I display on the summary tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4197 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem with preset updatesjstebbins2011-08-241-8/+12
| | | | | | | | When presets update due to new hb version, custom presets were being stepped on badly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4192 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make values for preset key AudioEncoderFallback compatible with mac uijstebbins2011-08-221-1/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4191 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: compute passthru fallbacksjstebbins2011-08-191-11/+42
| | | | | | | | | if we have an encoder for a passthru codec, use that encoder when passthru isn't possible. for 'Auto Passthru' use the fallback specified in the preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4188 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: fix issues with preset valuesjstebbins2011-08-192-7/+20
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4187 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Blu-ray: display playlist number in log, CLI scan output, and title drop-down.Rodeo2011-08-161-2/+16
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4182 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix hud rendering issuejstebbins2011-08-031-0/+7
| | | | | | | | On some display drivers, the rounded corners of the hud would retain the previous preview image when the preview was changed. This adds a region mask to compensate for buggy drivers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4154 b64f7644-9d1e-0410-96f1-a4d463321fa5