summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libhb: include subtitles in all passes. When doing 2-pass, we want to send ↵Rodeo2012-05-142-51/+25
| | | | | | | | | | the same input to the video encoder in both passes, which requires including subtitles in case one has to be burned-in. Update Foreign Audio Search to work with the new behavior. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4677 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a crash when doing Foreign Audio Search with subtitle tracks that ↵Rodeo2012-05-141-31/+18
| | | | | | | | | | contain extradata (e.g. demuxed via libavformat). Fix by John Stebbins. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4675 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix a crash in the user settings service on a clean install. Also ↵sr552012-05-143-7/+8
| | | | | | handle exception throwing a bit better in the encode service. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4673 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix a bug that was causing the incorrect quality setting to be set.sr552012-05-131-9/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4672 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix Installer Scriptssr552012-05-123-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4671 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: 64bit WPF build fix.sr552012-05-121-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4670 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Another attempt at fixing the build script.sr552012-05-121-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4669 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Build Script Updates for the WPF UI.sr552012-05-121-9/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4668 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Make the new WPF UI default. (the old UI exe is still included in ↵sr552012-05-1218-137/+247
| | | | | | | | the build. Handbrake_old.exe) Also includes bug fixes to the audio and subtitles panels. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4667 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: miscllaenous cleanup.Rodeo2012-05-121-71/+75
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4666 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix mismatch between ShowHelp() and ParseOptions(). Fix help in order ↵Rodeo2012-05-121-1/+1
| | | | | | to not break existing scripts etc. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4664 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Sorry, missed one.Rodeo2012-05-121-2/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4663 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Further cleanup.Rodeo2012-05-121-10/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4662 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cleanup: merge two consecutive if( job->indepth_scan ) blocks.Rodeo2012-05-121-18/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4661 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: cosmetics.Rodeo2012-05-121-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4660 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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