]> granicus.if.org Git - handbrake/log
handbrake
12 years agoWinGui: Output settings were not loading with the presets.
sr55 [Sun, 17 Jun 2012 17:16:04 +0000 (17:16 +0000)]
WinGui: Output settings were not loading with the presets.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4746 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoremove unnecessary include
jstebbins [Sun, 17 Jun 2012 14:11:33 +0000 (14:11 +0000)]
remove unnecessary include

Thanks for Rogerio Brito for patch

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4744 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoAdd CFLAGS and LDFLAGS specified during configure to compile and link commands
jstebbins [Sun, 17 Jun 2012 14:04:02 +0000 (14:04 +0000)]
Add CFLAGS and LDFLAGS specified during configure to compile and link commands

Enhances portability.
configure.py already added these to the GNUmakefile output, but the
values did not get incorporated into compile or link commands.

Thanks to Fabian Greffrath and Rogerio Brito for this patch

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4742 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Convert the Presets Panel to a Listbox and update the styling. This should...
sr55 [Sat, 16 Jun 2012 16:29:23 +0000 (16:29 +0000)]
WinGui: Convert the Presets Panel to a Listbox and update the styling. This should better reflect the selected preset and cleanup the horrible toolbar styling for the button controls.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4741 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Various fixes
sr55 [Sat, 16 Jun 2012 12:40:05 +0000 (12:40 +0000)]
WinGui: Various fixes
- Add tooltip to each queue item to indicate some primary settings.
- Removed some legacy preset code.
- Fixed Queue Recovery

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4740 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix an issue in the AudioTrack copy constructor.
sr55 [Fri, 15 Jun 2012 21:52:07 +0000 (21:52 +0000)]
WinGui: Fix an issue in the AudioTrack copy constructor.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4739 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Add extension to file when exporting the queue
sr55 [Fri, 15 Jun 2012 18:03:13 +0000 (18:03 +0000)]
WinGui: Add extension to file when exporting the queue

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4738 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoUpdated file copyright / GPL headers
sr55 [Fri, 15 Jun 2012 15:34:41 +0000 (15:34 +0000)]
Updated file copyright / GPL headers

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4737 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix another issue with Scanning sources at the drive letter level.
sr55 [Thu, 14 Jun 2012 22:03:04 +0000 (22:03 +0000)]
WinGui: Fix another issue with Scanning sources at the drive letter level.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4736 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix build and further clean out some legacy code.
sr55 [Thu, 14 Jun 2012 19:22:31 +0000 (19:22 +0000)]
WinGui: Fix build and further clean out some legacy code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4735 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Code Cleanup
sr55 [Thu, 14 Jun 2012 19:08:34 +0000 (19:08 +0000)]
WinGui: Code Cleanup
- New file headers for App Services
- Update Interop to include an IWindsorInstaller implementation
- Update Interop Converter (new framerates and fflac)
- Many stylecop warnings fixed.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4734 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Strip out more legacy code.
sr55 [Thu, 14 Jun 2012 18:09:38 +0000 (18:09 +0000)]
WinGui: Strip out more legacy code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4733 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Remove the legacy WinForms GUI.
sr55 [Thu, 14 Jun 2012 17:38:21 +0000 (17:38 +0000)]
WinGui: Remove the legacy WinForms GUI.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4732 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Additional layout changes to the options window.
sr55 [Thu, 14 Jun 2012 10:20:03 +0000 (10:20 +0000)]
WinGui: Additional layout changes to the options window.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4731 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Some layout tweaks by beta-tester
sr55 [Thu, 14 Jun 2012 09:59:24 +0000 (09:59 +0000)]
WinGui: Some layout tweaks by beta-tester
- disabling sizing on windows, where sizing makes no sense;
- limit sizing on windows, where sizing in a wrong directions makes problems;
- make controls full sizable, where the readability/information will benefit from;
- all windows appears now in ScreenCenter;

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4730 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Initial layout changes to the options screen.
sr55 [Thu, 14 Jun 2012 09:46:46 +0000 (09:46 +0000)]
WinGui: Initial layout changes to the options screen.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4729 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoDon't override fribidi lib and cflags when building libass on linux
jstebbins [Fri, 8 Jun 2012 21:34:23 +0000 (21:34 +0000)]
Don't override fribidi lib and cflags when building libass on linux
We use the system version of fribidi on linux and overriding the build
flags causes failures on some systems (gentoo).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4726 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: fix crash when dvd volume id has non-ascii characters
jstebbins [Fri, 8 Jun 2012 20:38:40 +0000 (20:38 +0000)]
LinGui: fix crash when dvd volume id has non-ascii characters
The iso9660 spec says the volume id must only be composed of 0-9, A-Z, and _.
But dvd authors seem to take liberties with the character set.  Certain
non-ascii character sequences cause a crash in the glib function
g_markup_escape_text(). So force all characters into the standard ascii range.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4724 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: fix problem with setting the default destination file name
jstebbins [Fri, 8 Jun 2012 17:23:26 +0000 (17:23 +0000)]
LinGui: fix problem with setting the default destination file name
If ghb is started with a parameter that specifies the source, it was
not updating the destination name as it normally would when choosing
the source from the file open dialog.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4722 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Added a Shell View which can host various windows. By default this will host...
sr55 [Fri, 8 Jun 2012 02:13:59 +0000 (02:13 +0000)]
WinGui: Added a Shell View which can host various windows. By default this will host the Main window. Changed the Options window to be a usercontrol so it can be hosted in this shell view, allowing for a chrome-esk style options within the main window without the need for a dialog window.  The options window will need some design changes. (Coming soon)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4721 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Changes to the Main Window and Advanced Tab to make allow it to better suppor...
sr55 [Thu, 7 Jun 2012 23:58:09 +0000 (23:58 +0000)]
WinGui: Changes to the Main Window and Advanced Tab to make allow it to better support window resizing. Thanks to beta-tester

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4720 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix in the scan service for scanning folders with spaces.
sr55 [Thu, 7 Jun 2012 23:26:48 +0000 (23:26 +0000)]
WinGui: Fix in the scan service for scanning folders with spaces.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4719 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWingui: Fix an issue where a trailing slash can cause an encode not to start.
sr55 [Thu, 7 Jun 2012 23:23:24 +0000 (23:23 +0000)]
Wingui: Fix an issue where a trailing slash can cause an encode not to start.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4718 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoPortability patches
jstebbins [Thu, 7 Jun 2012 23:18:40 +0000 (23:18 +0000)]
Portability patches
gudev is only available on linux, so ifdef it out on all other systems.
also add some definitions to the make system for generic gnu and freebsd
systems.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4717 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: remove deprecated "Encoding" key from desktop file
jstebbins [Thu, 7 Jun 2012 22:48:58 +0000 (22:48 +0000)]
LinGui: remove deprecated "Encoding" key from desktop file

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4715 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMake HB_AMIXDOWN_* defines a simple enumeration. The existing system wasn't necessary...
Rodeo [Wed, 6 Jun 2012 16:07:58 +0000 (16:07 +0000)]
Make HB_AMIXDOWN_* defines a simple enumeration. The existing system wasn't necessary and didn't work in all decoders for Dolby downmixing.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4714 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Order Language listboxes on the Options / Audio and Subtitles Tab
sr55 [Wed, 6 Jun 2012 01:00:56 +0000 (01:00 +0000)]
WinGui: Order Language listboxes on the Options / Audio and Subtitles Tab

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4713 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Allow Modulus with Anamorphic Mode None. Tweaks to Destination filename property.
sr55 [Wed, 6 Jun 2012 00:28:09 +0000 (00:28 +0000)]
WinGui: Allow Modulus with Anamorphic Mode None. Tweaks to Destination filename property.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4712 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix chapter csv file import. Names were not displaying on the chapter list...
sr55 [Sun, 3 Jun 2012 21:02:54 +0000 (21:02 +0000)]
WinGui: Fix chapter csv file import. Names were not displaying on the chapter list grid.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4711 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Numerous fixes to the picture settings tab. Fixed framerate typo on the Video...
sr55 [Sun, 3 Jun 2012 20:54:33 +0000 (20:54 +0000)]
WinGui: Numerous fixes to the picture settings tab. Fixed framerate typo on the Video tab and fixed an issue on the main window when changing back to Chapters mode. (Start and End points were not set correctly)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4710 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix an issue with the x264 CQ Granulairty on certain cultures. Change the...
sr55 [Thu, 31 May 2012 00:50:26 +0000 (00:50 +0000)]
WinGui: Fix an issue with the x264 CQ Granulairty on certain cultures. Change the way the Destination text box works and update the autonaming code to work with Start and End points.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4709 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix a bug in chapter duration calculation.
sr55 [Sun, 27 May 2012 17:50:01 +0000 (17:50 +0000)]
WinGui: Fix a bug in chapter duration calculation.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4708 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix a threading bug in the Queue Manger. ClearCompleted should always be...
sr55 [Sun, 27 May 2012 17:29:52 +0000 (17:29 +0000)]
WinGui: Fix a threading bug in the Queue Manger. ClearCompleted should always be done on the UI Thread. This was causing the "Clear completed" queue option to crash.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4707 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix for the Constant Quality slider when changing the granularity without...
sr55 [Sun, 27 May 2012 17:19:01 +0000 (17:19 +0000)]
WinGui: Fix for the Constant Quality slider when changing the granularity without restarting the app.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4706 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agodecdca: attempt to fix Dolby Surround and Pro Logic II mixdown. We were doing it...
Rodeo [Sun, 27 May 2012 13:38:41 +0000 (13:38 +0000)]
decdca: attempt to fix Dolby Surround and Pro Logic II mixdown. We were doing it wrong in some cases.

This means Dolby Pro Logic II is now only available for sources with at least L, R, C, Ls, Rs channels (as well as any additional channels), due to some libdca limitations. This will eventually go away when we use our own downmixing for all sources.

Further cleanup to follow.

Also cleans up usage of audio->config.in.flags (was audio->config.flags.*).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4705 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoBump x264 to r2200-999b753.
Rodeo [Sat, 26 May 2012 21:02:51 +0000 (21:02 +0000)]
Bump x264 to r2200-999b753.

- H.264 Level 5.2 support.

- Threaded lookahead: improved encoding speed with very fast settings, on systems with 8 processor "threads" or more.

'By default, lookahead threads are 1/6 of regular threads.  This isn't exacting,
but it seems to work well for all presets on real systems.  With sliced-threads,
it's the same as the number of encoding threads.'

Mini-benchmark:
---------------

2.2 GHz Intel Core i7, 8 processor threads (4 physical cores + 4 virtual cores), Mac OS X 10.7.4. HandBrake's "Normal" preset.

libavcodec decoding threads: 8 / 2 + 1 =  5

x264 encoding threads:       8 * 3 / 2 = 12

x264 lookahead threads:      12 / 6    =  2

Blu-ray, H.264, 1920x1080 -> 1920x800

~48 fps with threaded lookahead, ~42 fps without

DVD, MPEG-2, 720x576 -> 720x576

~224 fps with threaded lookahead, ~192 fps without

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4704 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Add a warning when closing the app while an encode is running. A fix for...
sr55 [Sat, 26 May 2012 19:46:10 +0000 (19:46 +0000)]
WinGui: Add a warning when closing the app while an encode is running. A fix for the Browse button not updating the Output format dropdown correctly.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4703 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agofix more compiler warnings
jstebbins [Sat, 26 May 2012 09:33:14 +0000 (09:33 +0000)]
fix more compiler warnings

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4702 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: fix a bunch of compiler warnings
jstebbins [Sat, 26 May 2012 08:58:22 +0000 (08:58 +0000)]
LinGui: fix a bunch of compiler warnings

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4701 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: oops, fixed on sigsegv and created another :(
jstebbins [Sat, 26 May 2012 08:25:02 +0000 (08:25 +0000)]
LinGui: oops, fixed on sigsegv and created another :(

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4700 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoLinGui: fix crash when ejecting dvd
jstebbins [Sat, 26 May 2012 08:07:18 +0000 (08:07 +0000)]
LinGui: fix crash when ejecting dvd

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4699 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Improvements and fixes to the Queue Window. Added WhenDone option. Fixed...
sr55 [Sat, 26 May 2012 02:29:13 +0000 (02:29 +0000)]
WinGui: Improvements and fixes to the Queue Window. Added WhenDone option. Fixed an issue where the progress counter would not display if you started an encode before opening the queue window.
Updated the Options Window to keep settings displayed up to date.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4698 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Change the Binding behaviour to update the bound field as the user types...
sr55 [Fri, 25 May 2012 23:19:22 +0000 (23:19 +0000)]
WinGui: Change the Binding behaviour to update the bound field as the user types rather than when focus is lost.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4697 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Add a file to indicate that the WinForms UI is deprecated.
sr55 [Mon, 21 May 2012 00:05:49 +0000 (00:05 +0000)]
WinGui: Add a file to indicate that the WinForms UI is deprecated.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4696 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fixes to the DragDrop Library and added the source as a zip package.
sr55 [Mon, 21 May 2012 00:02:44 +0000 (00:02 +0000)]
WinGui: Fixes to the DragDrop Library and added the source as a zip package.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4695 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Bug fixes on the subtitles panel.
sr55 [Mon, 21 May 2012 00:02:21 +0000 (00:02 +0000)]
WinGui: Bug fixes on the subtitles panel.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4694 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Allow folders to be dropped on the main window.
sr55 [Sun, 20 May 2012 23:20:30 +0000 (23:20 +0000)]
WinGui: Allow folders to be dropped on the main window.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4693 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoFix crash in MKV muxer with SRT subtitle sources (introduced in revision 4605).
Rodeo [Sun, 20 May 2012 22:35:38 +0000 (22:35 +0000)]
Fix crash in MKV muxer with SRT subtitle sources (introduced in revision 4605).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4692 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Range of bug fixes and UI tweaks.
sr55 [Sun, 20 May 2012 15:39:03 +0000 (15:39 +0000)]
WinGui: Range of bug fixes and UI tweaks.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4691 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Status overlay when scanning. Not sure if this is going to stay, just experim...
sr55 [Sun, 20 May 2012 02:07:56 +0000 (02:07 +0000)]
WinGui: Status overlay when scanning. Not sure if this is going to stay, just experimenting with ideas.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4690 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Initial Implementation of Add All to Queue. Fix the Queue so that it processe...
sr55 [Sun, 20 May 2012 01:11:36 +0000 (01:11 +0000)]
WinGui: Initial Implementation of Add All to Queue. Fix the Queue so that it processes everything correctly rather than just the last job added.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4689 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: When Changing the output format, limit to only valid choices in the video...
sr55 [Sat, 19 May 2012 21:02:08 +0000 (21:02 +0000)]
WinGui: When Changing the output format, limit to only valid choices in the video and audio encoder dropdowns.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4688 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix issue with query for mkv files.
sr55 [Sat, 19 May 2012 15:56:07 +0000 (15:56 +0000)]
WinGui: Fix issue with query for mkv files.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4687 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoForgot to svn add some taskset files
jstebbins [Fri, 18 May 2012 06:54:25 +0000 (06:54 +0000)]
Forgot to svn add some taskset files

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4686 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: tasksets API provided by scsiguy
jstebbins [Thu, 17 May 2012 19:51:35 +0000 (19:51 +0000)]
libhb: tasksets API provided by scsiguy
This is an easier to use API for launching multithreaded tasks. And it is more
portable since it does not rely on undefined/implementation specific behavior
of POSIX mutexes. That is, the ability for one thread to unlock a mutex owned
by another thread.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4685 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: forgot to clear the flag indicating forced sub seen
jstebbins [Thu, 17 May 2012 15:13:55 +0000 (15:13 +0000)]
libhb: forgot to clear the flag indicating forced sub seen
since the flag wasn't cleared, it would output multiple empty subs for
each forced sub

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4684 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: improve termination of forced subtitles
jstebbins [Thu, 17 May 2012 14:15:18 +0000 (14:15 +0000)]
libhb: improve termination of forced subtitles
There isn't always an "empty" sub directly after a forced subtitle.  This
causes the forced subtitle to be displayed for too long.  So take the next
sub and convert it to an empty sub.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4683 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix a bunch of dodgy regexs that could lead to certain filenames causeing...
sr55 [Tue, 15 May 2012 23:51:55 +0000 (23:51 +0000)]
WinGui: Fix a bunch of dodgy regexs that could lead to certain filenames causeing the query parser to break.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4682 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fixes Picture Height CLI Query. Fix Framerate mode controls (PFR/VFR were...
sr55 [Tue, 15 May 2012 23:37:56 +0000 (23:37 +0000)]
WinGui: Fixes Picture Height CLI Query. Fix Framerate mode controls (PFR/VFR were not working right)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4681 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui:
sr55 [Mon, 14 May 2012 23:24:25 +0000 (23:24 +0000)]
WinGui:
- Fix some stupid code in the CliCheckHelper class which could easily cause it to not set version information.
- Fix an issue in the scan service where it could try to write to a log directory which doesn't exist yet leading to no log file being displayed.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4680 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoForeign Audio Search: improve duplicate subtitle detection.
Rodeo [Mon, 14 May 2012 17:03:15 +0000 (17:03 +0000)]
Foreign Audio Search: improve duplicate subtitle detection.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4679 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoFix a couple Foreign Audio Search issues causes by the changes introduced in revision...
Rodeo [Mon, 14 May 2012 16:27:23 +0000 (16:27 +0000)]
Fix a couple Foreign Audio Search issues causes by the changes introduced in revision 4622:

- hang if forced-only were not set

- Foreign Audio Search would select a subtitle track containing forced subtitles even if forced-only were not set

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4678 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: include subtitles in all passes. When doing 2-pass, we want to send the same...
Rodeo [Mon, 14 May 2012 15:36:17 +0000 (15:36 +0000)]
libhb: include subtitles in all passes. When doing 2-pass, we want to send 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

12 years agoFix a crash when doing Foreign Audio Search with subtitle tracks that contain extrada...
Rodeo [Mon, 14 May 2012 14:24:15 +0000 (14:24 +0000)]
Fix a crash when doing Foreign Audio Search with subtitle tracks that 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

12 years agoWinGui: Fix a crash in the user settings service on a clean install. Also handle...
sr55 [Mon, 14 May 2012 00:13:56 +0000 (00:13 +0000)]
WinGui: Fix a crash in the user settings service on a clean install. Also 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

12 years agoWinGui: Fix a bug that was causing the incorrect quality setting to be set.
sr55 [Sun, 13 May 2012 14:34:47 +0000 (14:34 +0000)]
WinGui: Fix a bug that was causing the incorrect quality setting to be set.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4672 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix Installer Scripts
sr55 [Sat, 12 May 2012 23:03:48 +0000 (23:03 +0000)]
WinGui: Fix Installer Scripts

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4671 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: 64bit WPF build fix.
sr55 [Sat, 12 May 2012 22:49:27 +0000 (22:49 +0000)]
WinGui: 64bit WPF build fix.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4670 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Another attempt at fixing the build script.
sr55 [Sat, 12 May 2012 22:23:19 +0000 (22:23 +0000)]
WinGui: Another attempt at fixing the build script.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4669 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Build Script Updates for the WPF UI.
sr55 [Sat, 12 May 2012 22:15:54 +0000 (22:15 +0000)]
WinGui: Build Script Updates for the WPF UI.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4668 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Make the new WPF UI default. (the old UI exe is still included in the build...
sr55 [Sat, 12 May 2012 22:00:52 +0000 (22:00 +0000)]
WinGui: Make the new WPF UI default. (the old UI exe is still included in 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

12 years agoMacGUI: miscllaenous cleanup.
Rodeo [Sat, 12 May 2012 20:57:16 +0000 (20:57 +0000)]
MacGUI: miscllaenous cleanup.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4666 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoCLI: fix mismatch between ShowHelp() and ParseOptions(). Fix help in order to not...
Rodeo [Sat, 12 May 2012 19:50:29 +0000 (19:50 +0000)]
CLI: fix mismatch between ShowHelp() and ParseOptions(). Fix help in order to not break existing scripts etc.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4664 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoSorry, missed one.
Rodeo [Sat, 12 May 2012 18:11:13 +0000 (18:11 +0000)]
Sorry, missed one.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4663 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoFurther cleanup.
Rodeo [Sat, 12 May 2012 18:09:42 +0000 (18:09 +0000)]
Further cleanup.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4662 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoCleanup: merge two consecutive if( job->indepth_scan ) blocks.
Rodeo [Sat, 12 May 2012 18:04:54 +0000 (18:04 +0000)]
Cleanup: merge two consecutive if( job->indepth_scan ) blocks.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4661 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMacGui: cosmetics.
Rodeo [Sat, 12 May 2012 16:26:34 +0000 (16:26 +0000)]
MacGui: cosmetics.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4660 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMacGui: do not disable fQueueStatus in enableUI. A disabled fQueueStatus looks a...
Rodeo [Sat, 12 May 2012 16:24:41 +0000 (16:24 +0000)]
MacGui: do not disable fQueueStatus in enableUI. A disabled fQueueStatus looks a bit silly next to an enabled fStatusField.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4659 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: PGS subtitle improvements.
Rodeo [Thu, 10 May 2012 22:30:18 +0000 (22:30 +0000)]
libhb: PGS subtitle improvements.

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

12 years agolibhb: don't relocate SSA subtitle when burning
jstebbins [Thu, 10 May 2012 00:22:51 +0000 (00:22 +0000)]
libhb: don't relocate SSA subtitle when burning
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

12 years agodecavcodec: merge double if to a single statement.
Rodeo [Wed, 9 May 2012 12:32:10 +0000 (12:32 +0000)]
decavcodec: merge double if to a single statement.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4656 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMacGui: apply Auto Passthru settings even if the widgets are hidden.
Rodeo [Wed, 9 May 2012 12:23:43 +0000 (12:23 +0000)]
MacGui: apply Auto Passthru settings even if the widgets are hidden.

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

12 years agoLinGui: remove unnecessary 100 title limit
jstebbins [Tue, 8 May 2012 16:19:40 +0000 (16:19 +0000)]
LinGui: remove unnecessary 100 title limit

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4651 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: fix another filter initialization problem
jstebbins [Mon, 7 May 2012 03:34:41 +0000 (03:34 +0000)]
libhb: fix another filter initialization problem
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

12 years agoWinGui: (WPF) UI Consistency tweaks and improvements.
sr55 [Sun, 6 May 2012 00:48:41 +0000 (00:48 +0000)]
WinGui: (WPF) UI Consistency tweaks and improvements.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4649 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Build system tweaks.
sr55 [Sat, 5 May 2012 23:59:57 +0000 (23:59 +0000)]
WinGui: (WPF) Build system tweaks.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4648 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Add bob support in the plist parser.
sr55 [Sat, 5 May 2012 23:59:37 +0000 (23:59 +0000)]
WinGui: Add bob support in the plist parser.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4647 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: (WPF) Change the Preset window from singleton to transient
sr55 [Sat, 5 May 2012 23:40:15 +0000 (23:40 +0000)]
WinGui: (WPF) Change the Preset window from singleton to transient

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4646 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Support for bob deinterlacing/ decomb.
sr55 [Sat, 5 May 2012 22:41:45 +0000 (22:41 +0000)]
WinGui: Support for bob deinterlacing/ decomb.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4645 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoWinGui: Fix an issue importing SRT subs.
sr55 [Sat, 5 May 2012 21:07:17 +0000 (21:07 +0000)]
WinGui: Fix an issue importing SRT subs.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4644 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: yet another fix for ssa burn-in positioning problem
jstebbins [Sat, 5 May 2012 19:29:01 +0000 (19:29 +0000)]
libhb: yet another fix for ssa burn-in positioning problem

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

12 years agolibhb: Fix problem with positions of burned-in subs
jstebbins [Sat, 5 May 2012 18:22:37 +0000 (18:22 +0000)]
libhb: Fix problem with positions of burned-in subs
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

12 years agoLinGui: use "allowed passthru" options even when hidden by preference option
jstebbins [Sat, 5 May 2012 18:12:00 +0000 (18:12 +0000)]
LinGui: use "allowed passthru" options even when hidden by preference option
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

12 years agoLinGui: Enable advanced options entry box for mpeg4 codec
jstebbins [Sat, 5 May 2012 16:45:05 +0000 (16:45 +0000)]
LinGui: Enable advanced options entry box for mpeg4 codec
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

12 years agoaudio->config.lang.description: code cleanup.
Rodeo [Thu, 3 May 2012 17:45:00 +0000 (17:45 +0000)]
audio->config.lang.description: code cleanup.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4637 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agolibhb: if no source chapter name information is available, set default chapters names...
Rodeo [Thu, 3 May 2012 16:04:28 +0000 (16:04 +0000)]
libhb: if no source chapter name information is available, set default 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

12 years agoCLI: CLI: skip invalid audio input tracks, like we already do for subtitles.
Rodeo [Thu, 3 May 2012 15:35:52 +0000 (15:35 +0000)]
CLI: CLI: skip invalid audio input tracks, like we already do for subtitles.

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

12 years agoMacGUI: fix stupid bug introduced in revision 4633.
Rodeo [Thu, 3 May 2012 15:05:29 +0000 (15:05 +0000)]
MacGUI: fix stupid bug introduced in revision 4633.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4634 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoMacGui: lots of stuff I forgot to to in revision 4627, plus a minor code cleanup.
Rodeo [Thu, 3 May 2012 15:02:12 +0000 (15:02 +0000)]
MacGui: lots of stuff I forgot to to in revision 4627, plus a minor code cleanup.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4633 b64f7644-9d1e-0410-96f1-a4d463321fa5

12 years agoScan: fix some 24000/1001 sources being detected as "almost" 24000/1001, using is_clo...
Rodeo [Wed, 2 May 2012 23:33:19 +0000 (23:33 +0000)]
Scan: fix some 24000/1001 sources being detected as "almost" 24000/1001, using is_close_to().

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4631 b64f7644-9d1e-0410-96f1-a4d463321fa5