]> granicus.if.org Git - handbrake/log
handbrake
11 years agoBump Libav to v9.2.
Rodeo [Wed, 27 Feb 2013 21:31:22 +0000 (21:31 +0000)]
Bump Libav to v9.2.

Miscellaneous fixes.

Also reduces the amount of patched code a bit.

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

11 years agoWinGui: Show "Scan failed: Unrecognized file type." when a scan fails for this reason...
sr55 [Sun, 24 Feb 2013 14:53:29 +0000 (14:53 +0000)]
WinGui: Show "Scan failed: Unrecognized file type." when a scan fails for this reason. Patch by Roman Starkov.

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

11 years agoWinGui: Enhancements to the preview window and scanning option.s
sr55 [Sat, 23 Feb 2013 18:56:01 +0000 (18:56 +0000)]
WinGui: Enhancements to the preview window and scanning option.s
- Allow up to 60 preview images and expand the video preview selection up to 240 seconds.
- Allow a preview to be generated when the queue is already running.
- Grey out the preview Play button when it's encoding.

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

11 years agoDisable mno-ms-bitfields globally - Thanks to Maxym Dmytrychenko and Konab1end for...
sr55 [Thu, 21 Feb 2013 21:53:44 +0000 (21:53 +0000)]
Disable mno-ms-bitfields globally - Thanks to Maxym Dmytrychenko and Konab1end for tracking this down.

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

11 years agoLinGui: increase max number of static previews to 60
jstebbins [Wed, 20 Feb 2013 16:07:46 +0000 (16:07 +0000)]
LinGui: increase max number of static previews to 60

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

11 years agoLinGui: increase max live preview duration to 240 seconds
jstebbins [Wed, 20 Feb 2013 16:05:37 +0000 (16:05 +0000)]
LinGui: increase max live preview duration to 240 seconds

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

11 years agoMacGui: Raise the maximum allowable previews from 30 to 60 in 5 preview increments.
dynaflash [Wed, 20 Feb 2013 15:40:04 +0000 (15:40 +0000)]
MacGui: Raise the maximum allowable previews from 30 to 60 in 5 preview increments.

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

11 years agoMacGui: Live Preview extend the live preview maximum duration to 240 seconds ( 4...
dynaflash [Tue, 19 Feb 2013 23:59:35 +0000 (23:59 +0000)]
MacGui: Live Preview extend the live preview maximum duration to 240 seconds ( 4 min.) from the previous 120 seconds ( 2 minutes).

- Uses 15 second incremements as previous.

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

11 years agocleanup build system settings for several modules
konablend [Tue, 19 Feb 2013 22:49:15 +0000 (22:49 +0000)]
cleanup build system settings for several modules

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

11 years agominor fixup: append to GCC.args.extra
konablend [Tue, 19 Feb 2013 15:39:18 +0000 (15:39 +0000)]
minor fixup: append to GCC.args.extra

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

11 years agoWinGui: Split out the advanced tab code into separate panels.
sr55 [Sat, 16 Feb 2013 20:12:16 +0000 (20:12 +0000)]
WinGui: Split out the advanced tab code into separate panels.

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

11 years agoadd --disable-sndfile to avoid build failure
konablend [Fri, 15 Feb 2013 12:48:19 +0000 (12:48 +0000)]
add --disable-sndfile to avoid build failure

- build fails on non-ancient OSX platforms if libsndfile is present
- low risk for all platforms as scope is limited to libsamplerate/examples/

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

11 years agoWinGui: A Stylecop cleanup pass on Interop Library. Note, moved the Eventargs into...
sr55 [Tue, 12 Feb 2013 20:37:59 +0000 (20:37 +0000)]
WinGui: A Stylecop cleanup pass on Interop Library.  Note, moved the Eventargs into their own package.

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

11 years agoWinGui: Fix the source display label for batch scan mode.
sr55 [Sat, 9 Feb 2013 17:15:07 +0000 (17:15 +0000)]
WinGui: Fix the source display label for batch scan mode.

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

11 years agoSet AVCodecContext.request_channel_layout when decoding.
Rodeo [Tue, 5 Feb 2013 18:03:07 +0000 (18:03 +0000)]
Set AVCodecContext.request_channel_layout when decoding.

Allows extracting a 5.1 or 2-channel downmix from a dedicated substream (TrueHD).

Also works around a bug when decoding TrueHD Mono.

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

11 years agoAudio dithering.
Rodeo [Tue, 5 Feb 2013 17:53:03 +0000 (17:53 +0000)]
Audio dithering.

Works with encoders that accept 16-bit signed integers as input (currently, only ffflac).

When supported, the default method is standard triangular.

CLI users can request a specific dither algorithm via the --adither option.

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

11 years agoMacGui: re enable deinterlaced still preview images when deinterlace is selected.
dynaflash [Mon, 4 Feb 2013 19:55:40 +0000 (19:55 +0000)]
MacGui: re enable deinterlaced still preview images when deinterlace is selected.
- Also add a deinterlaced preview still image when decomb is selected as libhb does not notice decomb for still previews. Do a quick shell game when decomb is selected only to grab a deinterlaced preview.
- As a side note, remove some extremely vestigial code from controller.m as far as a min preview size.
- fwiw, lingui already apparently does this.

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

11 years agoPrevent OSX ML sleep during encoding, thanks to Jerome Lacube
sr55 [Mon, 4 Feb 2013 19:44:40 +0000 (19:44 +0000)]
Prevent OSX ML sleep during encoding, thanks to Jerome Lacube

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

11 years agoMacGUI: add a missing else statement. Don't pass key event down the response chain...
ritsuka [Mon, 4 Feb 2013 19:22:24 +0000 (19:22 +0000)]
MacGUI: add a missing else statement. Don't pass key event down the response chain after we handled it it.

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

11 years agoWinGui: Add support for the tray icon.
sr55 [Sat, 2 Feb 2013 20:01:41 +0000 (20:01 +0000)]
WinGui: Add support for the tray icon.

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

11 years agoLinGui: add tooltips for subtitle options
jstebbins [Sat, 2 Feb 2013 00:18:41 +0000 (00:18 +0000)]
LinGui: add tooltips for subtitle options

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

11 years agoMacGUI: make the control box in preview window 10 px larger to avoid splitting text...
ritsuka [Fri, 1 Feb 2013 19:48:33 +0000 (19:48 +0000)]
MacGUI: make the control box in preview window 10 px larger to avoid splitting text on two lines, and expand the keyboard control to the still images.

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

11 years agoLinGui: fix crash caused by bug in newer versions of gtk2
jstebbins [Fri, 1 Feb 2013 19:29:55 +0000 (19:29 +0000)]
LinGui: fix crash caused by bug in newer versions of gtk2

GtkCombobBoxText is not initialized correctly by gtk2.  Reading out it's
current value fails and returns NULL.  So explicitely initialize the
text column value and guard against future bugs by checking return value.

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

11 years agoMacGUI: Reworked a bit of HBPreviewController, the main differences are:
ritsuka [Fri, 1 Feb 2013 16:58:48 +0000 (16:58 +0000)]
MacGUI: Reworked a bit of HBPreviewController, the main differences are:
- CALayer instead of NSImageView, we don't need to center the layer manually, plus a lot of free animations.
- Reworked the scale to screen code, now it resize the window to the max size and then resize the picture layer, a bit simpler then before but the previous code had a weird issue were the window increased in size each time the slider changed until the control box was outside the window.
- Fixed an issue where the preview window would be unusable if it was closed while it was encoding a preview.
- Added a fEncodeState int to keep track of the encoding status like in HBController.
- Removed some unused code and variables.
- The preview images are no longer 4px smaller than the said size.
- Added some nice image to the player controller.
- keyboard controls for the movie player.

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

11 years agoMacGUI: Fix build on 10.6sdk.
ritsuka [Thu, 31 Jan 2013 10:34:52 +0000 (10:34 +0000)]
MacGUI: Fix build on 10.6sdk.

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

11 years agoMacGUI: make the preview window HiDPI aware, so that the preview images will be shown...
ritsuka [Wed, 30 Jan 2013 18:48:23 +0000 (18:48 +0000)]
MacGUI: make the preview window HiDPI aware, so that the preview images will be shown with the same pixel count on Retina and non Retina screens (instead of 2x on Retina).

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

11 years agox264 preset system: miscellaneous improvements.
Rodeo [Wed, 30 Jan 2013 00:09:57 +0000 (00:09 +0000)]
x264 preset system: miscellaneous improvements.

See https://reviews.handbrake.fr/r/421/ for details.

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

11 years ago- xcode debug builds now use --debug=std instead of --debug=max
konablend [Tue, 29 Jan 2013 20:43:10 +0000 (20:43 +0000)]
- xcode debug builds now use --debug=std instead of --debug=max
- amongst other things, this will build ffmpeg without asserts
  and avoid an mpegvideo.c assert that seems to always trigger

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

11 years agoLinGui: remove unnecessary GtkFrame
jstebbins [Tue, 29 Jan 2013 17:39:32 +0000 (17:39 +0000)]
LinGui: remove unnecessary GtkFrame

It was being rendered incorrectly in gtk2 anyway :-\

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

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