]> granicus.if.org Git - handbrake/log
handbrake
11 years agoLinGui: fix gtk3 subtitle and audio list issue
jstebbins [Tue, 29 Jan 2013 17:27:04 +0000 (17:27 +0000)]
LinGui: fix gtk3 subtitle and audio list issue

The wrong subtitle or audio track was sometimes getting removed from the
list when the remove button was pressed.

The sequence of widget callbacks changed is such a way as to require some
small rearrangement of code.

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

11 years agoBump local automake to version 1.13.1.
Rodeo [Tue, 29 Jan 2013 14:14:36 +0000 (14:14 +0000)]
Bump local automake to version 1.13.1.

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

11 years ago- drop deprecated usage of automake macro
konablend [Tue, 29 Jan 2013 05:06:25 +0000 (05:06 +0000)]
- drop deprecated usage of automake macro
- required for pending automake-1.13.1 bump
- should be backwards compatible with automake 1.7 (late 2002) and higher

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

11 years ago- drop deprecated usage of automake macro
konablend [Tue, 29 Jan 2013 02:44:40 +0000 (02:44 +0000)]
- drop deprecated usage of automake macro
- required for pending automake-1.13.1 bump
- should be backwards compatible with automake 1.7 (late 2002) and higher

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

11 years agolibhb: remove exta log text that was used for debugging
jstebbins [Tue, 29 Jan 2013 01:30:31 +0000 (01:30 +0000)]
libhb: remove exta log text that was used for debugging

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

11 years agolibhb: Fix CC processing for packets that have no PTS
jstebbins [Tue, 29 Jan 2013 01:05:18 +0000 (01:05 +0000)]
libhb: Fix CC processing for packets that have no PTS

It is not required that every input frame have a PTS, but we were only
creating tags for frames that have a PTS.  If a frame with no PTS happens
to have CC data, we would mistakenly drop the previous CC data and log
a "tag botch" error.

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

11 years agolibhb: Fix main feature detection for some DVDs (Brave)
jstebbins [Mon, 28 Jan 2013 18:13:19 +0000 (18:13 +0000)]
libhb: Fix main feature detection for some DVDs (Brave)

Some new discs are putting longer leaders before the feauture.  So
extend how far we search before giving up.

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

12 years agoMacGui: Remove extra space in encoding status line string for 1 pass encodes.
dynaflash [Mon, 28 Jan 2013 01:23:38 +0000 (01:23 +0000)]
MacGui: Remove extra space in encoding status line string for 1 pass encodes.
- Patch by sanmarcos Thanks!
- Addresses https://reviews.handbrake.fr/r/422/

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

12 years agoMacGui: Add missing tooltips . Align and fix issues.
dynaflash [Sun, 27 Jan 2013 23:03:17 +0000 (23:03 +0000)]
MacGui: Add missing tooltips . Align and fix issues.
- Patch by sanmarcos … Thanks!
- Detail addressed here https://reviews.handbrake.fr/reviewboard.fcgi/r/423/

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

12 years agoMacGui: Fix a null placeholder upon launch in the x264 unparse string.
dynaflash [Sun, 27 Jan 2013 22:30:39 +0000 (22:30 +0000)]
MacGui: Fix a null placeholder upon launch in the x264 unparse string.
- Patch by sanmarcos Thanks!
- Explained here https://reviews.handbrake.fr/r/426/

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

12 years agoUpdating generated docs
sr55 [Sun, 27 Jan 2013 21:20:08 +0000 (21:20 +0000)]
Updating generated docs

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

12 years agoUpdated texi docs.
sr55 [Sun, 27 Jan 2013 21:17:55 +0000 (21:17 +0000)]
Updated texi docs.

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

12 years agoOnly show the warning about copy proteciton once.
sr55 [Sun, 27 Jan 2013 21:14:27 +0000 (21:14 +0000)]
Only show the warning about copy proteciton once.

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

12 years agoRemove the deprecated VLC DYLD code
sr55 [Sun, 27 Jan 2013 19:42:52 +0000 (19:42 +0000)]
Remove the deprecated VLC DYLD code

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

12 years agobuild: Fix mingw crashes in libdvdread when using gcc >= 4.7
jstebbins [Sat, 26 Jan 2013 18:47:13 +0000 (18:47 +0000)]
build: Fix mingw crashes in libdvdread when using gcc >= 4.7
mingw gcc >= 4.7 now packs structures in a "MS compatible" fashion.
This breaks the normal expected behavior of packed structures.  To restore
the correct behavior, the option -mno-ms-bitfields must be added :-\

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

12 years agoMacGui: sync built-in presets with the other UIs.
Rodeo [Sat, 26 Jan 2013 17:36:50 +0000 (17:36 +0000)]
MacGui: sync built-in presets with the other UIs.

Also make handling of max width/height more robust.

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

12 years agoWinGui: Code Tidyup.
sr55 [Sat, 26 Jan 2013 16:21:27 +0000 (16:21 +0000)]
WinGui: Code Tidyup.

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

12 years agoWinGui: Numerous bug fixes to the services library.
sr55 [Sat, 26 Jan 2013 16:05:48 +0000 (16:05 +0000)]
WinGui: Numerous bug fixes to the services library.

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

12 years agomanicure: bugfixes.
Rodeo [Sat, 26 Jan 2013 13:45:14 +0000 (13:45 +0000)]
manicure: bugfixes.

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

12 years agoWinGui: Fix a bug in the GongSolutions.Wpf.DragDrop library that was causing queue...
sr55 [Sat, 26 Jan 2013 13:19:54 +0000 (13:19 +0000)]
WinGui: Fix a bug in the GongSolutions.Wpf.DragDrop library that was causing queue items to be re-added after they were removed from the list simply by hovering the mouse over the control.

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

12 years ago- parse yasm version at configure time
konablend [Fri, 25 Jan 2013 17:59:50 +0000 (17:59 +0000)]
- parse yasm version at configure time
- if version is inadequate, auto enable local yasm

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

12 years agoWinGui: Remember the last used preview duration.
sr55 [Thu, 24 Jan 2013 21:48:45 +0000 (21:48 +0000)]
WinGui: Remember the last used preview duration.

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

12 years agoWinGui: Allow a shorted preview video.
sr55 [Thu, 24 Jan 2013 21:43:19 +0000 (21:43 +0000)]
WinGui: Allow a shorted preview video.

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

12 years agoWinGui: For Point to Point Frames: Use Numeric Up Down Control. For PTP Seconds...
sr55 [Wed, 23 Jan 2013 21:19:45 +0000 (21:19 +0000)]
WinGui:  For Point to Point Frames: Use Numeric Up Down Control.   For PTP Seconds, use Timespan Up down so the user can enter a time in format hh:mm:ss

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

12 years agoMacGui: cosmetics: re-indent.
Rodeo [Wed, 23 Jan 2013 21:03:59 +0000 (21:03 +0000)]
MacGui: cosmetics: re-indent.

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

12 years agoMacUI: Fix crash caused by double free of advanced_opts
jstebbins [Wed, 23 Jan 2013 19:56:58 +0000 (19:56 +0000)]
MacUI: Fix crash caused by double free of advanced_opts

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

12 years agoWinGui: Add duration of the chapter to the chapters tab.
sr55 [Wed, 23 Jan 2013 19:04:55 +0000 (19:04 +0000)]
WinGui: Add duration of the chapter to the chapters tab.

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

12 years agoLinGui: fix ubuntu package dependency
jstebbins [Wed, 23 Jan 2013 16:10:56 +0000 (16:10 +0000)]
LinGui: fix ubuntu package dependency

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

12 years agoSync TrueHD channel order fix with Libav.
Rodeo [Tue, 22 Jan 2013 23:53:36 +0000 (23:53 +0000)]
Sync TrueHD channel order fix with Libav.

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

12 years agoFix hb_apply_h264_level() after x264 bump.
Rodeo [Tue, 22 Jan 2013 20:21:32 +0000 (20:21 +0000)]
Fix hb_apply_h264_level() after x264 bump.

x264's DPB size table was updated in http://git.videolan.org/?p=x264.git;a=commit;h=d2d8364f

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

12 years agoLinGui: Fix ubuntu nighly builds
jstebbins [Tue, 22 Jan 2013 16:24:11 +0000 (16:24 +0000)]
LinGui: Fix ubuntu nighly builds
None of the current ubuntu distributions have yasm 1.2.0 yet.  So I must
add --enable-local-yasm to configure.

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

12 years agocontrib: update yasm to 1.2.0
jstebbins [Tue, 22 Jan 2013 16:19:47 +0000 (16:19 +0000)]
contrib: update yasm to 1.2.0
The latest x264 requires yasm 1.2.0

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

12 years agoBump x264 to r2245 bc13772.
Rodeo [Tue, 22 Jan 2013 00:04:57 +0000 (00:04 +0000)]
Bump x264 to r2245 bc13772.

Miscellaneous fixes and improvements.

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

12 years agolibhb: Fix issue with silence insertion when using FLAC encoder
jstebbins [Mon, 21 Jan 2013 22:11:14 +0000 (22:11 +0000)]
libhb: Fix issue with silence insertion when using FLAC encoder

When we insert silence to maintain sync, we typically need to insert about
70ms.  But the default flac frame duration is very large (>=96ms).  This is
causing us to overshoot the target and we immediately drop a frame.  Dropping
a frame undershoots and we insert a frame... ad infinitum.

This patch changes the behavior of silence insertion for non-passthru audio.
Instead of inserting full frames of silence, the last "frame" inserted may be
a partial.  This lets us insert a finer grained silence duration and eliminates
the problem with large flac frames.

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

12 years agoLinGui: Use gtk+ 3 in ubuntu 12.10 nightly builds
jstebbins [Mon, 21 Jan 2013 19:46:51 +0000 (19:46 +0000)]
LinGui: Use gtk+ 3 in ubuntu 12.10 nightly builds
Let's find out just how fucked up gtk 3 is :p

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

12 years agoLinGui: Work around STUPID gtk3 file chooser bug :-\
jstebbins [Mon, 21 Jan 2013 19:05:35 +0000 (19:05 +0000)]
LinGui: Work around STUPID gtk3 file chooser bug :-\

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

12 years agoWinGui: Just some prototype code for safe keeping. Not currently used.
sr55 [Sun, 20 Jan 2013 14:21:58 +0000 (14:21 +0000)]
WinGui: Just some prototype code for safe keeping. Not currently used.

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

12 years agoWinGui: Couple UI tidyup's
sr55 [Fri, 18 Jan 2013 18:42:11 +0000 (18:42 +0000)]
WinGui: Couple UI tidyup's

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

12 years agoWinGui: Update advanced tab notice to be clearer.
sr55 [Fri, 18 Jan 2013 11:59:47 +0000 (11:59 +0000)]
WinGui: Update advanced tab notice to be clearer.

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

12 years agoWinGui: UI Tweaks.
sr55 [Thu, 17 Jan 2013 22:29:37 +0000 (22:29 +0000)]
WinGui: UI Tweaks.

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

12 years agoWinGui: Fix Allow Sleep option.
sr55 [Thu, 17 Jan 2013 21:00:25 +0000 (21:00 +0000)]
WinGui: Fix Allow Sleep option.

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

12 years agolibav patch: fix silly error in dca resync patch
jstebbins [Thu, 17 Jan 2013 18:59:37 +0000 (18:59 +0000)]
libav patch: fix silly error in dca resync patch

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

12 years agoBump Libav to v9.1.
Rodeo [Wed, 16 Jan 2013 19:19:43 +0000 (19:19 +0000)]
Bump Libav to v9.1.

Fixes high bit-depth H.264 decoding.

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

12 years agoMacGui: retain the current storage width and height and use it when unparsing the...
Rodeo [Wed, 16 Jan 2013 18:14:07 +0000 (18:14 +0000)]
MacGui: retain the current storage width and height and use it when unparsing the x264 options.

This is done in calculatePictureSizing as it is called whenever width or height change.

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

12 years agoLinGui: Fix building with versions of gstreamer older than 0.10.33
jstebbins [Wed, 16 Jan 2013 07:53:58 +0000 (07:53 +0000)]
LinGui: Fix building with versions of gstreamer older than 0.10.33
Ubuntu 11.04 uses something older

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

12 years agoLinGui: Fix compatibility with GTK versions < 2.32
jstebbins [Tue, 15 Jan 2013 08:23:53 +0000 (08:23 +0000)]
LinGui: Fix compatibility with GTK versions < 2.32
Ubuntu 11.04 and 11.10 use this and I'm not quite ready to drop support
for these.

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

12 years agoLinGui: Add GTK+-3 support
jstebbins [Sun, 13 Jan 2013 21:31:41 +0000 (21:31 +0000)]
LinGui: Add GTK+-3 support

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

12 years agoWinGui: Options screen refactoring.
sr55 [Sun, 13 Jan 2013 17:51:42 +0000 (17:51 +0000)]
WinGui:  Options screen refactoring.
Help -> Check for updates now takes the user to the options screen update tab.
Help -> About now takes the user to the options screen about tab.  Saves popping up annoying window.

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

12 years agoWinGui: Numerous bug fixes. Many around the automatic selection feature on the Audio...
sr55 [Sun, 13 Jan 2013 16:50:49 +0000 (16:50 +0000)]
WinGui: Numerous bug fixes. Many around the automatic selection feature on the Audio Panel.

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

12 years agoWinGui: Some Layout improvements to the Advanced tab to make it clearer what section...
sr55 [Fri, 11 Jan 2013 22:50:48 +0000 (22:50 +0000)]
WinGui: Some Layout improvements to the Advanced tab to make it clearer what section the options come under.

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

12 years agoWinGui: Couple of minor UI tweaks and new tooltips.
sr55 [Fri, 11 Jan 2013 21:32:48 +0000 (21:32 +0000)]
WinGui: Couple of minor UI tweaks and new tooltips.

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

12 years agoMacGui: free(NULL) is perfectly safe.
Rodeo [Sun, 6 Jan 2013 22:36:38 +0000 (22:36 +0000)]
MacGui: free(NULL) is perfectly safe.

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

12 years agoMacGui: fAudioFallbackPopUp should be an NSPopUpButton.
Rodeo [Sun, 6 Jan 2013 22:09:30 +0000 (22:09 +0000)]
MacGui: fAudioFallbackPopUp should be an NSPopUpButton.

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

12 years agoMacGui: fX264MediumPresetIndex is an index, not a pointer.
Rodeo [Sun, 6 Jan 2013 21:50:18 +0000 (21:50 +0000)]
MacGui: fX264MediumPresetIndex is an index, not a pointer.

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

12 years agoCLI: fix AppleTV preset in ShowPresets().
Rodeo [Sun, 6 Jan 2013 21:07:00 +0000 (21:07 +0000)]
CLI: fix AppleTV preset in ShowPresets().

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

12 years agoLinGui,CLI: change h.264 profile to high in AppleTV preset
jstebbins [Sun, 6 Jan 2013 20:53:34 +0000 (20:53 +0000)]
LinGui,CLI: change h.264 profile to high in AppleTV preset

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

12 years agolibiconv patch: disables building of preloadable shared lib
jstebbins [Sun, 6 Jan 2013 20:50:37 +0000 (20:50 +0000)]
libiconv patch: disables building of preloadable shared lib

Needed for solaris compatibility
Thanks to icchan for the patch.

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

12 years agoWinGui: Restore RF0 warning and Correctly show RF or QP depending on the video encoder.
sr55 [Sun, 6 Jan 2013 19:45:04 +0000 (19:45 +0000)]
WinGui: Restore RF0 warning and Correctly show RF or QP depending on the video encoder.

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

12 years agoWinGui: Fix AllowSleep option. Port the Numeric Stepper control from Vidcoder onto...
sr55 [Sun, 6 Jan 2013 19:22:56 +0000 (19:22 +0000)]
WinGui: Fix AllowSleep option. Port the Numeric Stepper control from Vidcoder onto the Picture settings panel. This should fix a number of strange behavioural issues with the old control. Please report any new issues that this causes.

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

12 years agoCLI: fix previous commit. free(NULL) is perfectly safe.
Rodeo [Sun, 6 Jan 2013 17:46:44 +0000 (17:46 +0000)]
CLI: fix previous commit. free(NULL) is perfectly safe.

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

12 years agoCLI: check against NULL before freeing.
Rodeo [Sun, 6 Jan 2013 17:35:02 +0000 (17:35 +0000)]
CLI: check against NULL before freeing.

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

12 years agoLinGui: fix issue with FLAC24 fallback
jstebbins [Sun, 6 Jan 2013 05:09:54 +0000 (05:09 +0000)]
LinGui: fix issue with FLAC24 fallback

Was setting lame as fallback when flac24 fallback was set.

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

12 years agolibhb: fix audio sync regression with DVDs
jstebbins [Sun, 6 Jan 2013 01:48:00 +0000 (01:48 +0000)]
libhb: fix audio sync regression with DVDs

A "fix" for another sync issue caused a regression in handling of DVD sync.
So revert the change and make other improvements.

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

12 years agolibhb: handle incorrect stuffing in transport streams
jstebbins [Sun, 6 Jan 2013 01:20:14 +0000 (01:20 +0000)]
libhb: handle incorrect stuffing in transport streams

Incorrectly formatted stuffing causes invalid PCRs which results in sync
issues.

I've only seen this in one poorly authored BD, but it's easy to handle.

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

12 years agoFix dts-hd regression
jstebbins [Sun, 6 Jan 2013 01:11:37 +0000 (01:11 +0000)]
Fix dts-hd regression

The previous dca-resync libav patch broke dts-hd

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

12 years agoLinGui: silence some compiler warnings
jstebbins [Sat, 5 Jan 2013 16:34:50 +0000 (16:34 +0000)]
LinGui: silence some compiler warnings

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

12 years agoCLI: fix warning.
Rodeo [Fri, 4 Jan 2013 15:45:07 +0000 (15:45 +0000)]
CLI: fix warning.

test/test.c:378: warning: ‘ShowCommands’ was used with no prototype before its definition

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

12 years agohb_rate_s, hb_mixdown_s, hb_encoder_s: use const char * instead of char *
Rodeo [Fri, 4 Jan 2013 15:02:07 +0000 (15:02 +0000)]
hb_rate_s, hb_mixdown_s, hb_encoder_s: use const char * instead of char *

These are used in hardcoded tables, so there will never be a need for mutable strings.

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

12 years agoCLI: help: print per-encoder default mixdown dynamically.
Rodeo [Fri, 4 Jan 2013 14:41:11 +0000 (14:41 +0000)]
CLI: help: print per-encoder default mixdown dynamically.

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

12 years agoCLI: avoid an #fidef.
Rodeo [Fri, 4 Jan 2013 14:05:33 +0000 (14:05 +0000)]
CLI: avoid an #fidef.

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

12 years agoCLI: use hb_get_default_audio_encoder().
Rodeo [Fri, 4 Jan 2013 13:52:11 +0000 (13:52 +0000)]
CLI: use hb_get_default_audio_encoder().

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

12 years agolibhb: add hb_get_default_audio_encoder().
Rodeo [Fri, 4 Jan 2013 13:33:38 +0000 (13:33 +0000)]
libhb: add hb_get_default_audio_encoder().

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

12 years agoCLI: fix logging of the default mixdown in --help.
Rodeo [Fri, 4 Jan 2013 13:22:07 +0000 (13:22 +0000)]
CLI: fix logging of the default mixdown in --help.

Also, some minor cosmetics/refactoring.

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

12 years agocommon.h: cosmetics.
Rodeo [Fri, 4 Jan 2013 13:12:13 +0000 (13:12 +0000)]
common.h: cosmetics.

Also remove a couple duplicate function declarations.

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

12 years agoLinGui: fix selection of mixdown when using fallback audio encoder
jstebbins [Thu, 3 Jan 2013 23:28:53 +0000 (23:28 +0000)]
LinGui: fix selection of mixdown when using fallback audio encoder

It was getting set to mono all the time :-\

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

12 years agoLinGui: build preset import/export tables from hb_encoder_t tables
jstebbins [Thu, 3 Jan 2013 22:58:47 +0000 (22:58 +0000)]
LinGui: build preset import/export tables from hb_encoder_t tables

This makes tracking additions to libhb encoders completely transparent to
the LinGui. Changes or deletions still require special handling to ensure
backwards compatibility.

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

12 years agobuild system: update config.guess
jstebbins [Thu, 3 Jan 2013 19:12:35 +0000 (19:12 +0000)]
build system: update config.guess

Thanks to icchan for patch
https://reviews.handbrake.fr/r/361/

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

12 years agolibav: solaris build fixes
jstebbins [Thu, 3 Jan 2013 18:50:14 +0000 (18:50 +0000)]
libav: solaris build fixes

1. Link in /usr/lib/values-xpg6.o to get proper POSIX.1-2001 behaviour
from libc -- this is controversial within the GCC camp as it "breaks old code"
that doesn't assume it has been added. Some libc functions behave very
differently with and without this linked. Since we're linking statically to
the library, this is not a significant concern.

2. MPC8 disable constraint is clamped down to only apply on SPARC.

thanks to icchan for patch.
https://reviews.handbrake.fr/r/367/

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

12 years agoMacGui: fix queue editing after adding the x264 preset system.
Rodeo [Thu, 3 Jan 2013 00:16:17 +0000 (00:16 +0000)]
MacGui: fix queue editing after adding the x264 preset system.

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

12 years agoMacGui: cosmetics.
Rodeo [Thu, 3 Jan 2013 00:04:21 +0000 (00:04 +0000)]
MacGui: cosmetics.

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

12 years agoMacGui: add getters and setter for x264 preset system.
Rodeo [Thu, 3 Jan 2013 00:01:58 +0000 (00:01 +0000)]
MacGui: add getters and setter for x264 preset system.

Simplifies code and makes it more readable.

Also more refactoring, more bugfixes.

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

12 years agoFLAC: add 24-bit encoding.
Rodeo [Wed, 2 Jan 2013 21:44:38 +0000 (21:44 +0000)]
FLAC: add 24-bit encoding.

Works via a dedicated encoder: "FLAC (24-bit)", "ffflac24".

Users who prefer 16-bit can use the previous FLAC encoder: "FLAC (ffmpeg)", "ffflac".

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

12 years agolibav patch: fix dts audio bitstream desync when frame size changes
jstebbins [Wed, 2 Jan 2013 21:23:02 +0000 (21:23 +0000)]
libav patch: fix dts audio bitstream desync when frame size changes

Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=26016&hilit=squid

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

12 years agoMacGui: fix memory leak, more refactoring, bugfixes.
Rodeo [Wed, 2 Jan 2013 20:33:57 +0000 (20:33 +0000)]
MacGui: fix memory leak, more refactoring, bugfixes.

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

12 years agoMacGui: more refactoring, bugfixes.
Rodeo [Wed, 2 Jan 2013 19:36:28 +0000 (19:36 +0000)]
MacGui: more refactoring, bugfixes.

Apologies if anything breaks.

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

12 years agoMacGui: fix fx264UseAdvancedOptionsCheck (hopefully).
Rodeo [Wed, 2 Jan 2013 17:27:50 +0000 (17:27 +0000)]
MacGui: fix fx264UseAdvancedOptionsCheck (hopefully).

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

12 years agoMacGui: code refactoring (x264 preset system).
Rodeo [Wed, 2 Jan 2013 14:44:51 +0000 (14:44 +0000)]
MacGui: code refactoring (x264 preset system).

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

12 years agoMacGui: fix preset import/export with the x264 system.
Rodeo [Wed, 2 Jan 2013 13:22:05 +0000 (13:22 +0000)]
MacGui: fix preset import/export with the x264 system.

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

12 years agolibhb: fix a problem with BD audio track detection
jstebbins [Tue, 1 Jan 2013 21:05:44 +0000 (21:05 +0000)]
libhb: fix a problem with BD audio track detection

Some BDs can have several clips that have no audio (The Girl With the Dragon
Tattoo 2009).  This fools our audio selection logic into thinking the entire
BD has no audio.  So ignore clips that have no audio tracks when searching
for audio.

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

12 years agoMacGui: Initial x264 presets implementation.
dynaflash [Tue, 1 Jan 2013 18:38:36 +0000 (18:38 +0000)]
MacGui: Initial x264 presets implementation.
- Note: HB Built-ins are not updated as needs more testing
- Backwards compatible afaik for older presets including custom.
- Queue Item editing function needs to be updated yet.
- Preset import/ export will probably need work as well especially since some kvp's seem to still be up in the air.

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

12 years agoLinGui: filter out high444 from h264 profiles
jstebbins [Mon, 31 Dec 2012 17:19:49 +0000 (17:19 +0000)]
LinGui: filter out high444 from h264 profiles

and force profile to auto when RF < 1.0
and fix a problem with video quality slider digits display when changing
granularity in preferences.

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

12 years agoBump libav to v9_beta3.
Rodeo [Mon, 31 Dec 2012 16:54:11 +0000 (16:54 +0000)]
Bump libav to v9_beta3.

Miscellaneous bugfixes and improvements.

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

12 years agoWinGui: Removed High444, use auto instead.
sr55 [Mon, 31 Dec 2012 16:20:24 +0000 (16:20 +0000)]
WinGui: Removed High444, use auto instead.

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

12 years agoWinGui: Increase the size of the cropping numeric boxes and change their binding...
sr55 [Mon, 31 Dec 2012 13:42:42 +0000 (13:42 +0000)]
WinGui: Increase the size of the cropping numeric boxes and change their binding update trigger to be lost focus so that the modulus calculation doesn't interfere with the user typing values.

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

12 years agoWinGui: Missed a place for removing High10 and 422
sr55 [Mon, 31 Dec 2012 13:36:56 +0000 (13:36 +0000)]
WinGui: Missed a place for removing High10 and 422

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

12 years agoWinGui: Bump copyright date.
sr55 [Mon, 31 Dec 2012 13:19:41 +0000 (13:19 +0000)]
WinGui: Bump copyright date.

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

12 years agoWinGui: Remove High10 and High422 options.
sr55 [Mon, 31 Dec 2012 13:18:08 +0000 (13:18 +0000)]
WinGui: Remove High10 and High422 options.

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

12 years agoLinGui: filter out x264 profiles high10 and high422
jstebbins [Sun, 30 Dec 2012 23:15:09 +0000 (23:15 +0000)]
LinGui: filter out x264 profiles high10 and high422

10 bit encoding and yuv422 are not supported.

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

12 years agoLinGui: Update copyright dates
jstebbins [Sun, 30 Dec 2012 19:21:21 +0000 (19:21 +0000)]
LinGui: Update copyright dates

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

12 years agoWinGui: Add the plist keys and fix numerous bugs in the x264 preset/tune/profile...
sr55 [Sat, 29 Dec 2012 14:25:17 +0000 (14:25 +0000)]
WinGui: Add the plist keys and fix numerous bugs in the x264 preset/tune/profile/level code.

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