summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: do not disable fQueueStatus in enableUI. A disabled fQueueStatus ↵Rodeo2012-05-121-3/+5
| | | | | | looks a bit silly next to an enabled fStatusField. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4659 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: PGS subtitle improvements.Rodeo2012-05-102-21/+98
| | | | | | | | | | | | | | Some devices (such as the WD TV Live) expect PGS subtitle "frames" to come as a single packet, whereas on Blu-ray, each frame "segment" comes in its own packet. When doing PGS passthrough, merge packets so that 1 subtitle == 1 packet. This matches what MakeMKV amd mkvmerge do. Also, when doing forced-only extraction, don't include more 'empty' PGS subtitles than necessary. In muxmkv, cleanup negative subtitle durations (doesn't appear to fix anything, but it doesn't make anything worse either). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4658 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: don't relocate SSA subtitle when burningjstebbins2012-05-101-55/+63
| | | | | | | | | | Unlike dvd or bd subs which may be in the crop zone of the video, the ssa renderer knows the actual video dimensions and adjusts position for us. Moving them when they are "close" to the borders just makes a complete hash of things, so lets not do that. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4657 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decavcodec: merge double if to a single statement.Rodeo2012-05-091-6/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4656 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: apply Auto Passthru settings even if the widgets are hidden.Rodeo2012-05-091-75/+35
| | | | | | | | If you don't do this, then presets that use these will not function as advertised (see revision 4640). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4653 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove unnecessary 100 title limitjstebbins2012-05-081-2/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix another filter initialization problemjstebbins2012-05-071-1/+3
| | | | | | | if a filter fails to initialize, the next filter in the list got skipped git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4650 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: (WPF) UI Consistency tweaks and improvements.sr552012-05-0610-60/+90
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4649 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: (WPF) Build system tweaks.sr552012-05-052-2/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Add bob support in the plist parser.sr552012-05-051-0/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: (WPF) Change the Preset window from singleton to transient sr552012-05-051-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4646 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Support for bob deinterlacing/ decomb.sr552012-05-056-23/+65
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4645 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix an issue importing SRT subs.sr552012-05-051-1/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4644 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: yet another fix for ssa burn-in positioning problemjstebbins2012-05-051-8/+4
| | | | | | | | | We must offset the position that libass gives us by the top and left cropping since the frame size we are telling libass to render into has the cropping removed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4643 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Fix problem with positions of burned-in subsjstebbins2012-05-0514-79/+31
| | | | | | | | | | | | | | | | | 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
* audio->config.lang.description: code cleanup.Rodeo2012-05-034-180/+199
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4637 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: if no source chapter name information is available, set default ↵Rodeo2012-05-037-53/+68
| | | | | | | | | | | | | | chapters names explicitly (rather than leaving it to the interfaces). Standardize calculation of chapter->hours, chapter->minutes and chapter->seconds across all sources. Get rid of an unused variable in libhb/dvd.c Ignore chapter names set by MakeMKV. "Chapter 1" is just as good as, if not better than "Chapter 01" or even "Chapter 00". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4636 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: CLI: skip invalid audio input tracks, like we already do for subtitles.Rodeo2012-05-031-51/+57
| | | | | | | | Fixes https://forum.handbrake.fr/viewtopic.php?f=10&t=22746 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4635 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: fix stupid bug introduced in revision 4633.Rodeo2012-05-031-0/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4634 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: lots of stuff I forgot to to in revision 4627, plus a minor code ↵Rodeo2012-05-032-62/+69
| | | | | | cleanup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4633 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Scan: fix some 24000/1001 sources being detected as "almost" 24000/1001, ↵Rodeo2012-05-021-1/+12
| | | | | | using is_close_to(). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4631 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix initialization problem in chroma resamplingjstebbins2012-05-021-0/+1
| | | | | | | may account for https://forum.handbrake.fr/viewtopic.php?f=12&t=24168 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4630 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
* libhb: fix problem with filter initializationjstebbins2012-05-021-0/+1
| | | | | | | Under certain circumstances, a filter could get skipped during initialization git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4628 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: add new "Bob" options in the decomb and deinterlace popup buttons.Rodeo2012-05-022-13/+29
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4627 b64f7644-9d1e-0410-96f1-a4d463321fa5
* don't do combing check twice per frame when bobbingjstebbins2012-05-012-1/+15
| | | | | | | 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-015-163/+261
| | | | | | | | 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
* cli: allow use of hh:mm:ss format when specifying p-to-p start/stop timejstebbins2012-05-011-12/+29
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4624 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Minor simplification.Rodeo2012-05-011-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4623 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Simplify Foreign Audio Search code:Rodeo2012-05-014-102/+98
| | | | | | | | | | | | | | | | | | | | - move all subtitle hit counting to the decoders instead of reader ---> allows us to count actual subtitles rather than just packets - always count subtitles, even when not doing a scan (may be useful in the future) Miscellaneous improvements: - always insert select_subtitle at the head of the output subtitle list, to make it less likely to be dropped - when multiple subtitle tracks have forced hits, pick the track with the fewest forced hits ---> Foreign Audio Search should now work with Star Wars on Blu-ray - logging improvements (more readable, and log job->select_subtitle configuration - Forced Only vs. All, Render vs. Passthrough) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4622 b64f7644-9d1e-0410-96f1-a4d463321fa5
* merge assorted fixes provided by Rogerio Britojstebbins2012-05-016-5/+17
| | | | | | | | 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
* libhb: fix problem with incorrect addition of audio silencejstebbins2012-05-016-3/+21
| | | | | | | | | | | | sync needs the precise duration of a frame of audio and has no way to compute it for passthru audio. So add a duration member to hb_buffer_t and set it in the audio decoders. This should eventually supersede hb_buffer_t member "stop" since it provides redundant information. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4618 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: allow arbitrary number of preview images, fixes potential crashjstebbins2012-05-011-9/+28
| | | | | | | | | scan.c had a limit of 30 previews due to fixed array size. But test.c didn't limit the max number of previews, so it was possible to generate a crash by specifying > 30. This removes the limitation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4616 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: (WPF) Updates to the new Query Generator to deal with passthru ↵sr552012-05-011-7/+8
| | | | | | tracks correctly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4615 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: (WPF) Improvements to the new audio panel.sr552012-05-017-42/+177
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4614 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui (WPF) Fix a bug in the GongSolutions WPF Drag/Drop Library to prevent ↵sr552012-04-293-19/+286
| | | | | | a crash with dropdowns when clicking an item outside of the listbox control area. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4613 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Basic support for PGS subtitles in the forms UI.sr552012-04-295-21/+84
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4612 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix Preview Window Play button crash.sr552012-04-281-0/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4611 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a potential null pointer referencejstebbins2012-04-281-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4609 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
* Fix naming of ubuntu 12.04 repository. it expects "precise" not "pangolin"jstebbins2012-04-271-12/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4606 b64f7644-9d1e-0410-96f1-a4d463321fa5
* PGS (bluray) subtitle support \o/jstebbins2012-04-2638-330/+1236
| | | | | | | | | | | | 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-262-13/+5
| | | | | | | | 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:jstebbins2012-04-262-14/+42
| | | | | | | Remove Lucid builds. Add Pangolin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4603 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Always pass down the --previews flag for encodes when it's not ↵sr552012-04-221-1/+7
| | | | | | defaulted to 10 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4601 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix crash when subtitle render filter fails to initializejstebbins2012-04-152-5/+6
| | | | | | | | | | | This can happen for non-fatal reasons when doing foreign audio search. This makes all filter init failures non-fatal. We may want to introduce fatal errors at some point. I need to inspect all the filters and see if there are any errors that really must be fatal. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix problem with fps calculation in 2 pass encodesjstebbins2012-04-141-1/+1
| | | | | | | | | interjob was not getting initialized at the end of the 1st pass because for some unfathomable reason, I did not save the job in the filter objects private data even though I had a job variable there. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4599 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove deprecated variable to avoid confusion.sr552012-04-126-13/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4598 b64f7644-9d1e-0410-96f1-a4d463321fa5