]> granicus.if.org Git - handbrake/log
handbrake
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

12 years agoLinGui: preset import/export robustness
jstebbins [Fri, 28 Dec 2012 19:39:12 +0000 (19:39 +0000)]
LinGui: preset import/export robustness

Upon import, if x264Preset is missing, force x264UseAdvancedOptions enabled.
Upon export, if x264UseAdvancedOptions is true, do not output x264Preset,
x264Tune, x264Level, x264Profile, or x264OptionExtra.

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

12 years agoWinGui: Initial work to implement x264 Preset/Tune/Profile/Level options in-gui.
sr55 [Fri, 28 Dec 2012 11:21:14 +0000 (11:21 +0000)]
WinGui: Initial work to implement x264 Preset/Tune/Profile/Level options in-gui.
Still some stuff to tidy up but should be usable for now.

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

12 years agolingui: convert tabs to spaces
jstebbins [Thu, 27 Dec 2012 23:27:10 +0000 (23:27 +0000)]
lingui: convert tabs to spaces

Makes lingui source conform to hb standard for indentation.

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

12 years agoupdate presets for lingui and CLI
jstebbins [Thu, 27 Dec 2012 22:52:04 +0000 (22:52 +0000)]
update presets for lingui and CLI

These new presets use x264 preset/tune/profile/level

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

12 years agoLinGui: add x264 preset/tune/profile/level support
jstebbins [Thu, 27 Dec 2012 22:49:32 +0000 (22:49 +0000)]
LinGui: add x264 preset/tune/profile/level support

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

12 years agoWinGui: Default the textboxes for Seconds and Frames to sensible values.
sr55 [Thu, 27 Dec 2012 21:50:58 +0000 (21:50 +0000)]
WinGui: Default the textboxes for Seconds and Frames to sensible values.

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

12 years agoWinGui: Improved handling of preview filename generation and fixed the seconds /...
sr55 [Thu, 27 Dec 2012 21:26:24 +0000 (21:26 +0000)]
WinGui: Improved handling of preview filename generation and fixed the seconds / frames options to update in realtime with the duration calculation.

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

12 years agolibhb: prevent segfault when opening mp4 file fails.
jstebbins [Wed, 26 Dec 2012 23:25:12 +0000 (23:25 +0000)]
libhb: prevent segfault when opening mp4 file fails.

MP4End() attempted to use invalid MP4File context.

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

12 years agoWinGui: Make the advanced encoder options respond before the control has lost focus.
sr55 [Mon, 24 Dec 2012 11:26:38 +0000 (11:26 +0000)]
WinGui: Make the advanced encoder options respond before the control has lost focus.

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

12 years agoWinGui: Allow negative srt offset.
sr55 [Mon, 24 Dec 2012 11:21:39 +0000 (11:21 +0000)]
WinGui: Allow negative srt offset.

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

12 years agoWinGui: Fix SRT Offset.
sr55 [Mon, 24 Dec 2012 11:19:53 +0000 (11:19 +0000)]
WinGui: Fix SRT Offset.

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

12 years agohb_x264_param_unparse: cosmetics.
Rodeo [Thu, 20 Dec 2012 18:32:01 +0000 (18:32 +0000)]
hb_x264_param_unparse: cosmetics.

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

12 years agohb_x264_param_unparse: unset a few options that have no effect in the advanced option...
Rodeo [Thu, 20 Dec 2012 18:29:37 +0000 (18:29 +0000)]
hb_x264_param_unparse: unset a few options that have no effect in the advanced options string.

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

12 years agohb_apply_h264_level: cosmetics, change the meaning of the last parameter (be_quiet...
Rodeo [Thu, 20 Dec 2012 17:25:29 +0000 (17:25 +0000)]
hb_apply_h264_level: cosmetics, change the meaning of the last parameter (be_quiet -> verbose). Seems more common.

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

12 years agofix mac ui scaling problem after performing live preview encode
jstebbins [Mon, 17 Dec 2012 10:12:48 +0000 (10:12 +0000)]
fix mac ui scaling problem after performing live preview encode

we can't touch the picture settings when resetting the job.  the mac ui
currently depends on these remaining to what it set last.

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

12 years agofix some crashes in the macui
jstebbins [Wed, 12 Dec 2012 20:21:14 +0000 (20:21 +0000)]
fix some crashes in the macui
I missed setting some pointers to NULL after free and missed place
where the ui was setting job->file directly instead of using hb_job_set_file().
Also, a NULL chapter name caused a crash.

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

12 years agolibhb: refactor job initialization and cleanup
jstebbins [Sun, 9 Dec 2012 19:11:33 +0000 (19:11 +0000)]
libhb: refactor job initialization and cleanup

Separates out some duplicate code in hb_job_reset, hb_job_close,
and hb_job_init. Also removes some vestigial function definitions in hb.h

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

12 years agolibhb: fix hb_dict_next() when dict is empty
jstebbins [Sun, 9 Dec 2012 19:08:08 +0000 (19:08 +0000)]
libhb: fix hb_dict_next() when dict is empty
It would return an invalid entry instead of NULL.

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

12 years agoencx264: raise qpmin to 4. 3 has been found to fail on real sources.
Rodeo [Sun, 9 Dec 2012 17:07:56 +0000 (17:07 +0000)]
encx264: raise qpmin to 4. 3 has been found to fail on real sources.

Fixes https://forum.handbrake.fr/viewtopic.php?f=5&t=25735

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

12 years agoLinGui: fix loose crop calculation
jstebbins [Sat, 8 Dec 2012 22:05:17 +0000 (22:05 +0000)]
LinGui: fix loose crop calculation
It was sometimes coming up with odd cropping values

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

12 years agolibhb: Fix a timing problem when rendering vobsubs
jstebbins [Sat, 8 Dec 2012 21:51:06 +0000 (21:51 +0000)]
libhb: Fix a timing problem when rendering vobsubs

So, if we are rendering the subtitles, do not delay them in sync.  The
renderer is responsible for handling stop == -1.

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

12 years agoWinGui: Fix a number of potential culture issues with doubles. (Advanced Panel, Query...
sr55 [Sat, 8 Dec 2012 12:50:37 +0000 (12:50 +0000)]
WinGui: Fix a number of potential culture issues with doubles. (Advanced Panel, Query Handling and Picture settings)

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

12 years agoWinGui: When we have a variable framerate preset, reset to "same as source" rather...
sr55 [Sat, 8 Dec 2012 12:28:17 +0000 (12:28 +0000)]
WinGui: When we have a variable framerate preset, reset to "same as source" rather than just remaining at whatever fps was set previously.

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

12 years agolingui: fix subtitle configuration problem
jstebbins [Tue, 4 Dec 2012 22:21:01 +0000 (22:21 +0000)]
lingui: fix subtitle configuration problem
If the preset has "burned" checked, under certain circumstances, both
"burned" and "default" would be checked in the gui.  These are suppose
to be mutually exclusive.

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

12 years agoInterop: Fixing title number/title index mixup. Adding Playlist to the Title object.
randomengy [Sun, 2 Dec 2012 22:40:37 +0000 (22:40 +0000)]
Interop: Fixing title number/title index mixup. Adding Playlist to the Title object.

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

12 years agolibhb: fix eedi2 crash in decomb
jstebbins [Fri, 30 Nov 2012 16:17:17 +0000 (16:17 +0000)]
libhb: fix eedi2 crash in decomb

When converting to using tasksets, I missed a free(thread_args_v) that
needed to be removed.  So we freed a bad pointer when the eedi2 thread
closed.

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

12 years agohb_x264_param_unparse(): fix typo.
Rodeo [Tue, 27 Nov 2012 22:13:22 +0000 (22:13 +0000)]
hb_x264_param_unparse(): fix typo.

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

12 years agoMacGui: Remove vestigial activity log debug messages.
dynaflash [Tue, 27 Nov 2012 18:19:18 +0000 (18:19 +0000)]
MacGui: Remove vestigial activity log debug messages.

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

12 years agoWinGui: UI Tweaks and further fixes to Custom Anamorphic.
sr55 [Tue, 27 Nov 2012 17:07:56 +0000 (17:07 +0000)]
WinGui: UI Tweaks and further fixes to Custom Anamorphic.

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

12 years agoWinGui: General code tidy-up and fix a couple of possible points that could throw...
sr55 [Tue, 27 Nov 2012 16:32:13 +0000 (16:32 +0000)]
WinGui: General code tidy-up and fix a couple of possible points that could throw exceptions.

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

12 years agolibhb: fix memory consumption problem
jstebbins [Mon, 26 Nov 2012 23:07:09 +0000 (23:07 +0000)]
libhb: fix memory consumption problem

Issues with timestamps made cfr think it needed to duplicate a few thousand
frames.  this leads to an over-cunsumption of memory since all duplicates
are placed in a list at once.

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

12 years agoWinGui: Tweak the advanced panel design so it is less likely to go off screen.
sr55 [Sun, 25 Nov 2012 12:40:23 +0000 (12:40 +0000)]
WinGui: Tweak the advanced panel design so it is less likely to go off screen.
Fix a framework selection but on non gb/us cultures.

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

12 years agoWinGui: Couple of Audio and Advanced Panel bug fixes.
sr55 [Sat, 24 Nov 2012 11:24:43 +0000 (11:24 +0000)]
WinGui: Couple of Audio and Advanced Panel bug fixes.

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

12 years agoWinGui: Quick fix to restore building of the app.
sr55 [Thu, 22 Nov 2012 19:16:16 +0000 (19:16 +0000)]
WinGui: Quick fix to restore building of the app.

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

12 years agoInterop: Updated to work with hb_chapter_set_title for chapter markers.
randomengy [Thu, 22 Nov 2012 18:36:29 +0000 (18:36 +0000)]
Interop: Updated to work with hb_chapter_set_title for chapter markers.

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

12 years agolingui: go back to original pause, start, stop icons.
jstebbins [Thu, 22 Nov 2012 00:23:19 +0000 (00:23 +0000)]
lingui: go back to original pause, start, stop icons.
they just look better

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

12 years agolibhb: fix generation of silence buffer for filling audio gaps
jstebbins [Wed, 21 Nov 2012 22:28:04 +0000 (22:28 +0000)]
libhb: fix generation of silence buffer for filling audio gaps

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

12 years agomuxmkv: don't write the last chapter marker if it is shorter than 3/2 second.
Rodeo [Wed, 21 Nov 2012 19:11:09 +0000 (19:11 +0000)]
muxmkv: don't write the last chapter marker if it is shorter than 3/2 second.

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

12 years agohb_audio_remap: protect against invalid channel layouts.
Rodeo [Wed, 21 Nov 2012 18:53:23 +0000 (18:53 +0000)]
hb_audio_remap: protect against invalid channel layouts.

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

12 years agoImprove support for planar audio.
Rodeo [Wed, 21 Nov 2012 18:29:34 +0000 (18:29 +0000)]
Improve support for planar audio.

- encavcodecaudio: use libavresample directly (instead of via the hb_audio_resample wrapper), and add support for planar output

- hb_audio_resample: add support for planar input

- hb_audio_remap: add support for planar input

- deca52: output planar float samples (no re-interleaving)

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

12 years agoInterop: Updated to support removal of title->job. Removed some obsolete properties...
randomengy [Wed, 21 Nov 2012 08:28:09 +0000 (08:28 +0000)]
Interop: Updated to support removal of title->job. Removed some obsolete properties on EncodingProfile, changed x264 Tunes to be a collection and replaced CustomCropping bool with CroppingType enum. Another fix to make sure Loose/Strict anamorphic get the correct PAR values.

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

12 years agolibhb: fix BD encoding
jstebbins [Tue, 20 Nov 2012 00:25:05 +0000 (00:25 +0000)]
libhb: fix BD encoding

I inadvertently disabled PCR processing in BD in
https://trac.handbrake.fr/changeset/5058

This caused bugs to show up in our processing of TS streams that have
no PCR.

So re-enable PCR processing in BD to fix the regression. And fix the problems
with processing TS streams that have no PCR.

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

12 years agoWinGui: Default the custom anamorphic values correctly. (Part 1 of Custom anamorphic...
sr55 [Sun, 18 Nov 2012 17:39:38 +0000 (17:39 +0000)]
WinGui: Default the custom anamorphic values correctly. (Part 1 of Custom anamorphic implementation)

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

12 years agoWinGui: Handle FileNotFound Exceptions with a nicer error message.
sr55 [Sun, 18 Nov 2012 14:47:09 +0000 (14:47 +0000)]
WinGui: Handle FileNotFound Exceptions with a nicer error message.

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

12 years agoInterop: Fix build break from bad merge.
randomengy [Sat, 17 Nov 2012 16:43:01 +0000 (16:43 +0000)]
Interop: Fix build break from bad merge.

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

12 years agoTwo temporary place holders for stop encode icon.
sr55 [Sat, 17 Nov 2012 16:10:12 +0000 (16:10 +0000)]
Two temporary place holders for stop encode icon.

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

12 years agoWinGui: Tweaks to the graphics files by nikpawlak and some alternate play/pause icons...
sr55 [Sat, 17 Nov 2012 16:06:13 +0000 (16:06 +0000)]
WinGui: Tweaks to the graphics files by nikpawlak and some alternate play/pause icons that fit well by jamiemlaw.

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