]> granicus.if.org Git - handbrake/log
handbrake
11 years agoWinGui: Fix the Source Drive MenuItems occasionally not working when pressed. Updated...
sr55 [Fri, 21 Jun 2013 19:49:26 +0000 (19:49 +0000)]
WinGui: Fix the Source Drive MenuItems occasionally not working when pressed. Updated the Drag/Drop library that has a few bug fixes.

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

11 years agoWinGui: Fix an issue on the queue where jobs would re-appear after clicking edit...
sr55 [Thu, 20 Jun 2013 20:40:40 +0000 (20:40 +0000)]
WinGui: Fix an issue on the queue where jobs would re-appear after clicking edit queue and they had been removed.

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

11 years agoMacGui: get rid of now obsolete @"UseCoreAudio" preference and related widgets
Rodeo [Thu, 20 Jun 2013 17:24:36 +0000 (17:24 +0000)]
MacGui: get rid of now obsolete @"UseCoreAudio" preference and related widgets

MacGui doesn't include faac anymore. Mapping from faac to Core Audio is done by libhb's fallback mechanism.

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

11 years agoInterop: Bringing it up to speed with the latest nightlies. Interop now exposes the...
randomengy [Tue, 18 Jun 2013 02:05:59 +0000 (02:05 +0000)]
Interop: Bringing it up to speed with the latest nightlies. Interop now exposes the list of valid sample rates and framerates in Encoders.cs. Also fixing a problem with Custom anamorphic and maximum height.

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

11 years agolibhb: fix hang that can occur under certain error conditions
jstebbins [Sun, 16 Jun 2013 16:16:52 +0000 (16:16 +0000)]
libhb: fix hang that can occur under certain error conditions
audio and video sync are in wait loops when they first start.
if an error happens during this period, the hang would happen.
check w->done in these loops to break out in case of error.

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

11 years agoWiWinGui: Remap the audio and video encoders. Hopefully this should also be backward...
sr55 [Sun, 16 Jun 2013 16:00:15 +0000 (16:00 +0000)]
WiWinGui: Remap the audio and video encoders.  Hopefully this should also be backwards compatible with user presets, but it is recommended to re-create any user presets to that the new keys get picked up incase we drop the fallbacks in the future.

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

11 years agoFix the build under MinGW
sr55 [Sun, 16 Jun 2013 12:03:51 +0000 (12:03 +0000)]
Fix the build under MinGW

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

11 years agoWinGui: Fix a styling issue on the audio/subs tab
sr55 [Sun, 16 Jun 2013 10:26:52 +0000 (10:26 +0000)]
WinGui: Fix a styling issue on the audio/subs tab

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

11 years agolibhb: fix calculation of chapter durations in dvdread and dvdnav.
Rodeo [Sun, 16 Jun 2013 01:56:22 +0000 (01:56 +0000)]
libhb: fix calculation of chapter durations in dvdread and dvdnav.

The values printed to the scan log were incorrect.

Patch by Stuart Webster. Thanks!

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

11 years agoCosmetics after last commit.
Rodeo [Sat, 15 Jun 2013 22:38:51 +0000 (22:38 +0000)]
Cosmetics after last commit.

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

11 years agolibhb: improve video and audio encoder names.
Rodeo [Sat, 15 Jun 2013 22:32:20 +0000 (22:32 +0000)]
libhb: improve video and audio encoder names.

When we only have one encoder for a particular codec:

- don't add (library_name) in the name
- don't prefix with ff or otherwise use the library name in the short name

AAC (ffmpeg) -> AAC (avcodec): works for both Libav and FFmpeg.
consistency: ffaac -> av_aac (like ca_aac, fdk_aac and so on)

VP3 (Theora) -> Theora: Theora is based on VP3, but is not exactly VP3.

manicure updated to handle the new names, but built-in presets left untouched (this will require WinGUI updates).

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

11 years agoUpgrade x264 to r2334-a3ac64b
sr55 [Sat, 15 Jun 2013 21:09:52 +0000 (21:09 +0000)]
Upgrade x264 to r2334-a3ac64b

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

11 years agolibhb: fix incorrect sizeof()
jstebbins [Sat, 15 Jun 2013 20:52:27 +0000 (20:52 +0000)]
libhb: fix incorrect sizeof()
Function parameter array declarations are not treated the same way
as local or global array declarations.  sizeof will return only the size
of the pointer instead of the size of the array.

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

11 years agoLinGui: use hb_audio_quality_get_default() to show/hide quality widgets.
jstebbins [Sat, 15 Jun 2013 20:28:07 +0000 (20:28 +0000)]
LinGui: use hb_audio_quality_get_default() to show/hide quality widgets.

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

11 years agoimprove aac encoder build options and change some aac encoder defaults
jstebbins [Sat, 15 Jun 2013 17:24:35 +0000 (17:24 +0000)]
improve aac encoder build options and change some aac encoder defaults

By default, faac is no longer built.
Libav aac is now the default aac encoder on all platforms except osx
where ca_aac is the default.
fdk-aac is now built by default (except on osx).

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

11 years agoLinGui: merge windows phone 8 preset
jstebbins [Fri, 14 Jun 2013 04:02:43 +0000 (04:02 +0000)]
LinGui: merge windows phone 8 preset

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

11 years agoWinGui: Added a new option that will allow users to fallback to using system colours...
sr55 [Thu, 13 Jun 2013 18:38:02 +0000 (18:38 +0000)]
WinGui: Added a new option that will allow users to fallback to using system colours. This is useful for those running non-standard system themes or high contrast mode.

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

11 years agoLinGui: fix propagation of tags from input file to output
jstebbins [Tue, 11 Jun 2013 20:38:27 +0000 (20:38 +0000)]
LinGui: fix propagation of tags from input file to output
... when batch queueing is used.

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

11 years agoExperimental preset for Windows Phone 8 Devices. Would be appreciated that anyone...
sr55 [Sat, 8 Jun 2013 18:55:32 +0000 (18:55 +0000)]
Experimental preset for Windows Phone 8 Devices. Would be appreciated that anyone with a W8 Phone provides feedback.

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

11 years agoWinGui: Better keyboard navigation in the GUI. Added an encode progress bar back in.
sr55 [Thu, 6 Jun 2013 20:12:39 +0000 (20:12 +0000)]
WinGui: Better keyboard navigation in the GUI.  Added an encode progress bar back in.

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

11 years agoLinGui: fix preset import/export
jstebbins [Thu, 6 Jun 2013 17:08:34 +0000 (17:08 +0000)]
LinGui: fix preset import/export
Use the new translation mechanisms supplied by libhb

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

11 years agoCosmetics.
Rodeo [Thu, 6 Jun 2013 16:14:38 +0000 (16:14 +0000)]
Cosmetics.

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

11 years agoCLI: Silence compiler warning
jstebbins [Thu, 6 Jun 2013 15:58:12 +0000 (15:58 +0000)]
CLI: Silence compiler warning

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

11 years agolibhb: move one-time registrations to hb_global_init().
Rodeo [Thu, 6 Jun 2013 01:49:44 +0000 (01:49 +0000)]
libhb: move one-time registrations to hb_global_init().

There's no need to do this in each call to hb_init().

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

11 years agoWinGui: Undo last commit, causes more problems than it fixes.
sr55 [Wed, 5 Jun 2013 18:25:10 +0000 (18:25 +0000)]
WinGui: Undo last commit, causes more problems than it fixes.

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

11 years agoWinGui: Disable the last bit of Custom Anamorphic calculation code until I can get...
sr55 [Wed, 5 Jun 2013 18:19:16 +0000 (18:19 +0000)]
WinGui: Disable the last bit of Custom Anamorphic calculation code until I can get around to making it work correctly.

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

11 years agoWinGui: Fix an issue where cropping wasn't getting set correctly after a title change.
sr55 [Wed, 5 Jun 2013 17:52:17 +0000 (17:52 +0000)]
WinGui: Fix an issue where cropping wasn't getting set correctly after a title change.

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

11 years agohb_mixdown_*: use meaningful values instead of -1.
Rodeo [Tue, 4 Jun 2013 21:28:57 +0000 (21:28 +0000)]
hb_mixdown_*: use meaningful values instead of -1.

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

11 years agomanicure: support new mixdowns added before 0.9.9.
Rodeo [Tue, 4 Jun 2013 21:21:13 +0000 (21:21 +0000)]
manicure: support new mixdowns added before 0.9.9.

Also, use "none" as the "None" mixdown; this is the name expected by libhb.

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

11 years agohb_video_encoders: cosmetics.
Rodeo [Mon, 3 Jun 2013 22:37:08 +0000 (22:37 +0000)]
hb_video_encoders: cosmetics.

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

11 years agolibhb/common: improve fallback mechanism.
Rodeo [Mon, 3 Jun 2013 15:37:38 +0000 (15:37 +0000)]
libhb/common: improve fallback mechanism.

API changes:

- added hb_global_init(), must be called before any other libhb function

- removed (somewhat pointless) hb_mixdown_t.internal_name

- some hb_*_get_from_name() functions now return 0 instead of -1.

Instead of hardcoded fallbacks, list items now have a specific fallback, and a generic ID for when the specific fallback is unavailable.

Encoder availability is checked at runtime (hb_global_init calling hb_common_global_init) and the item's value/fallback is sanity-checked and updated if necessary.

See https://reviews.handbrake.fr/r/506/ for more detailed information.

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

11 years agoWinGui: Put Lower / Placebo Quality (Higher quality for non x264) markers under the...
sr55 [Sun, 2 Jun 2013 17:20:04 +0000 (17:20 +0000)]
WinGui: Put Lower / Placebo Quality (Higher quality for non x264) markers under the quality slider.

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

11 years agoWinGui: Some usability improvements around presets. Also trying out a "Hide Presets...
sr55 [Sun, 2 Jun 2013 17:02:42 +0000 (17:02 +0000)]
WinGui: Some usability improvements around presets. Also trying out a "Hide Presets Panel" option similar to that of the macgui.

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

11 years agoMacGUI: Patch -Replace some deprecated API Calls https://reviews.handbrake.fr/r/504/
sr55 [Sat, 1 Jun 2013 21:39:49 +0000 (21:39 +0000)]
MacGUI: Patch -Replace some deprecated API Calls https://reviews.handbrake.fr/r/504/

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

11 years agoWinGui: Added option to AutoName functionality to remove common punctuation from...
sr55 [Sat, 1 Jun 2013 21:28:05 +0000 (21:28 +0000)]
WinGui: Added option to AutoName functionality to remove common punctuation from filenames (Comma, Period and Dash)

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

11 years agoWinGui: Don't crash if a corrupted source file causes the duration to be mis-detecte...
sr55 [Sat, 1 Jun 2013 15:06:46 +0000 (15:06 +0000)]
WinGui:  Don't crash if a corrupted source file causes the duration to be mis-detected. Note, in this case duration of the title / chapters will show as 00:00:00 and no chapters may display.

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

11 years agoWinGui: Change the Add button on the Audio/Subtitle tabs to DropButtons to better...
sr55 [Sat, 1 Jun 2013 14:21:10 +0000 (14:21 +0000)]
WinGui: Change the Add button on the Audio/Subtitle tabs to DropButtons to better expose the add options.

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

11 years agoWinGui: Add support for the 24bit flac encoder.
sr55 [Sat, 1 Jun 2013 13:00:11 +0000 (13:00 +0000)]
WinGui: Add support for the 24bit flac encoder.

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

11 years agocropscale: fix initial value of output width/height
jstebbins [Fri, 31 May 2013 15:35:28 +0000 (15:35 +0000)]
cropscale: fix initial value of output width/height
Since all the frontends specifiy all parameters to the cropscale filter,
this really has no effect.  But it was incorrect...

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

11 years agolibhb: fix problem with logging of crop/scale settings
jstebbins [Fri, 31 May 2013 15:30:20 +0000 (15:30 +0000)]
libhb: fix problem with logging of crop/scale settings

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

11 years agoLinGui: remove oneiric from nightly builds
jstebbins [Fri, 31 May 2013 14:52:22 +0000 (14:52 +0000)]
LinGui: remove oneiric from nightly builds
Launchpad says: Rejected: oneiric is obsolete and will not accept new uploads.

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

11 years agohb_display_job_info: improve formatting of start and stop times.
Rodeo [Thu, 30 May 2013 20:35:16 +0000 (20:35 +0000)]
hb_display_job_info: improve formatting of start and stop times.

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

11 years agoChange AssemblyInfo.cs.tmpl 0.9.9.1
sr55 [Thu, 30 May 2013 18:41:23 +0000 (18:41 +0000)]
Change AssemblyInfo.cs.tmpl

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

11 years agoWinGui: Temp workaround for iPod preset.
sr55 [Thu, 30 May 2013 18:39:56 +0000 (18:39 +0000)]
WinGui: Temp workaround for iPod preset.

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

11 years agoPrep for patch release.
sr55 [Thu, 30 May 2013 18:29:22 +0000 (18:29 +0000)]
Prep for patch release.

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

11 years agoDon't expose rate, mixdown, dither and encoder arrays to the UIs.
Rodeo [Thu, 30 May 2013 13:57:37 +0000 (13:57 +0000)]
Don't expose rate, mixdown, dither and encoder arrays to the UIs.

- instead, make these lists available through enumerators:
--> hb_*_get_next(<type> *last);

- this should give us more flexibility to populate the lists at runtime, using the implementation(s) of our choice, whether they use arrays or not, without requiring UI modifications

- use consistent naming for getters
--> hb_get_best_foo() becomes hb_foo_get_best(), and so on

- hb_*_get_from_name() and hb_*_ sanitize_name() sanitize the requested value to a supported one if it's unavailable

- adds an additional, passthru-specific fallback mechanism

- adds a list of video containers

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

11 years agoWinGui: Picture Settings Tab and Preset Behaviours changed to be consistent with...
sr55 [Wed, 29 May 2013 20:32:25 +0000 (20:32 +0000)]
WinGui: Picture Settings Tab and Preset Behaviours changed to be consistent with the macgui.

- None:
Nothing will happen to the W/H/KeepAR when changing preset.
Changing Title or source will change the Width to the source width and turn Keep AR on.

- Custom
Changing preset will change the resolution to be no more than what the Max W and H were set to. Keep AR flag will be honour'd, so if it's turned off, the output AR could be incorrect.
Set the W/H to a large number for the equiv of No Limit.

- Source Max
Same idea as custom, but limited to the resolution of the current source instead of a custom W/H

This now means that importing a mac or linux preset provides consistent behaviour.

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

11 years agoWinGui: Use ISO639-2 Codes rather than language names for auto language selection
sr55 [Wed, 29 May 2013 17:31:58 +0000 (17:31 +0000)]
WinGui: Use ISO639-2 Codes rather than language names for auto language selection

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

11 years agoWinGui: Fix a potential crash in the options window for clearing log files if the...
sr55 [Wed, 29 May 2013 16:56:49 +0000 (16:56 +0000)]
WinGui: Fix a potential crash in the options window for clearing log files if the logs are currently in use.

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

11 years agoMake initialization of vfr filter work as I intended.
jstebbins [Tue, 28 May 2013 18:20:43 +0000 (18:20 +0000)]
Make initialization of vfr filter work as I intended.

Also fix signalling of framerate in output file when PFR is used.

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

11 years agoWinGui: Continuation of previous fix to the queue event handling.
sr55 [Mon, 27 May 2013 18:28:54 +0000 (18:28 +0000)]
WinGui: Continuation of previous fix to the queue event handling.

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

11 years agoWinGui: Fix an option in prefs that wasn't reloading
sr55 [Mon, 27 May 2013 18:19:55 +0000 (18:19 +0000)]
WinGui: Fix an option in prefs that wasn't reloading

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

11 years agoWinGui: Add an attached property to the source menu to handle drive detection rather...
sr55 [Sun, 26 May 2013 16:11:55 +0000 (16:11 +0000)]
WinGui: Add an attached property to the source menu to handle drive detection rather than relying on callbacks from the OS.

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

11 years agoWinGui: Disable End point affecting the start point for anything other than chapters.
sr55 [Sun, 26 May 2013 11:56:37 +0000 (11:56 +0000)]
WinGui: Disable End point affecting the start point for anything other than chapters.

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

11 years agoWinGui: Add Clear buttons back to the Audio/Subs tabs.
sr55 [Sat, 25 May 2013 15:35:29 +0000 (15:35 +0000)]
WinGui: Add Clear buttons back to the Audio/Subs tabs.

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

11 years agoWinGui: Attempt 2 at fixing text overlap and fixed lossless warning label not appearing.
sr55 [Sat, 25 May 2013 15:28:11 +0000 (15:28 +0000)]
WinGui: Attempt 2 at fixing text overlap and fixed lossless warning label not appearing.

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

11 years agoWinGui: Add some margin to prevent help prevent overlapping of CQ value and RF/CQ...
sr55 [Sat, 25 May 2013 15:23:54 +0000 (15:23 +0000)]
WinGui: Add some margin to prevent help prevent overlapping of CQ value and RF/CQ label.

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

11 years agoWinGui: Refactor the Presets Picture Size handling to make it a bit clearer what...
sr55 [Sat, 25 May 2013 15:22:10 +0000 (15:22 +0000)]
WinGui: Refactor the Presets Picture Size handling to make it a bit clearer what's actually happening.

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

11 years agoWinGui: End Point can not be greater than Start and vice versa for the chapters dropd...
sr55 [Sat, 25 May 2013 12:09:50 +0000 (12:09 +0000)]
WinGui: End Point can not be greater than Start and vice versa for the chapters dropdowns.

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

11 years agoWinGui: Some usability improvements and bug fixes around the queue window.
sr55 [Fri, 24 May 2013 19:13:09 +0000 (19:13 +0000)]
WinGui: Some usability improvements and bug fixes around the queue window.

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

11 years agoWinGui: Redesign the tooltip for the Queue items to show Source and Destination full...
sr55 [Fri, 24 May 2013 18:41:44 +0000 (18:41 +0000)]
WinGui: Redesign the tooltip for the Queue items to show Source and Destination full path. Also increase the default timeout to 10 seconds.

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

11 years agoWinGui: Add a warning about user presets not being updated until such time that we...
sr55 [Fri, 24 May 2013 18:12:40 +0000 (18:12 +0000)]
WinGui: Add a warning about user presets not being updated until such time that we handle this scenario better.

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

11 years agoWinGui: Fix Queue Job display count not refreshing after the window is closed and...
sr55 [Fri, 24 May 2013 17:56:41 +0000 (17:56 +0000)]
WinGui: Fix Queue Job display count not refreshing after the window is closed and re-opened.

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

11 years agoWinGui: Fix AutoName when no {title} tag is set.
sr55 [Fri, 24 May 2013 17:53:50 +0000 (17:53 +0000)]
WinGui: Fix AutoName when no {title} tag is set.

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

11 years agolibhb: fix hb_vfr_info() and refactor hb_vfr_init() a bit.
Rodeo [Wed, 22 May 2013 20:16:20 +0000 (20:16 +0000)]
libhb: fix hb_vfr_info() and refactor hb_vfr_init() a bit.

Since SVN revision 5058, hb_vfr_init didn't have access to title->rate, rate_base - which are needed to set the input framerate for CFR/PFR. It was therefore printing the output framerate in both cases, regardless of the input framerate:

[22:13:04]    + frame rate: 23.976 fps -> constant 30.000 fps
[22:13:04]    + filters
[22:13:04]      + Framerate Shaper (1:27000000:900000)
[22:13:04]        + frame rate: 30.000 fps -> constant 30.000 fps

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

11 years agoWinGui: Make the AutoNaming feature less trigger happy. It should not run for cases...
sr55 [Wed, 22 May 2013 19:03:53 +0000 (19:03 +0000)]
WinGui: Make the AutoNaming feature less trigger happy. It should not run for cases where it's not going to change the underlying filename.

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

11 years agoWinGui: Adding missing x264UseAdvancedOptions Key. Allow the Queue window to be...
sr55 [Wed, 22 May 2013 18:53:35 +0000 (18:53 +0000)]
WinGui: Adding missing x264UseAdvancedOptions Key.  Allow the Queue window to be resized.

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

11 years agoWinGui: Change the CLI Helper to use the application startup path rather than the...
sr55 [Sun, 19 May 2013 21:03:09 +0000 (21:03 +0000)]
WinGui: Change the CLI Helper to use the application startup path rather than the search path when looking for the CLI exe. Apparently OpenWith on windows causes the search path to be different.

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

11 years agoWinGui: Some additional work on my prototype batch add to queue feature.
sr55 [Sun, 19 May 2013 17:41:51 +0000 (17:41 +0000)]
WinGui: Some additional work on my prototype batch add to queue feature.

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

11 years agoWinGui: Rectored some Encode/Queue service code. This restoes "Quit HandBrake" when...
sr55 [Sun, 19 May 2013 16:49:50 +0000 (16:49 +0000)]
WinGui: Rectored some Encode/Queue service code. This restoes "Quit HandBrake" when done option.

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

11 years agoWinGui: Fix build script
sr55 [Sat, 18 May 2013 11:35:57 +0000 (11:35 +0000)]
WinGui: Fix build script

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

11 years agoWinGui: Fix typo
sr55 [Sat, 18 May 2013 09:42:36 +0000 (09:42 +0000)]
WinGui: Fix typo

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

11 years agox264: hardcode the version string so that the full and correct x264 version is used...
Rodeo [Fri, 17 May 2013 17:01:44 +0000 (17:01 +0000)]
x264: hardcode the version string so that the full and correct x264 version is used in encoder/set.c, regardless of the tarball (full git repo vs. git archive) or where HandBrake is built from (source tarball vs. svn or git checkout).

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

11 years agosync: fall back to drop_video_to_sync when hb_avcodec_open() fails, instesd of killin...
Rodeo [Fri, 17 May 2013 16:09:54 +0000 (16:09 +0000)]
sync: fall back to drop_video_to_sync when hb_avcodec_open() fails, instesd of killing the job.

Patch by John Stebbins. Thanks!

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

11 years agodecsrtsub: clear remnants of the previous line before progessing a new one.
Rodeo [Tue, 14 May 2013 20:19:48 +0000 (20:19 +0000)]
decsrtsub: clear remnants of the previous line before progessing a new one.

I don't really understand why, but this prevents miscellaneous subtitle corruption.

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

11 years agoBump Libav to v9.6.
Rodeo [Mon, 13 May 2013 00:49:46 +0000 (00:49 +0000)]
Bump Libav to v9.6.

Miscellaneous security and bug fixes, including support for mixed interlaced/non-interlaced ProRes video.

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

11 years agoMacGui: stop before the last ("None") subtitle track when converting incompatible...
Rodeo [Sun, 12 May 2013 21:49:54 +0000 (21:49 +0000)]
MacGui: stop before the last ("None") subtitle track when converting incompatible tracks to burn-in.

We were calling [[tempObject objectForKey:@"subtitleSourceTrackType"] intValue], so for "None", [nil intValue], which was returning 0. As it turns out, VOBSUB == 0 thus hb_subtitle_can_pass() was true out of sheer luck.

In a case where e.g. hb_subtitle_can_pass(VOBSUB, mux) is false (such as with the upcoming HB_MUX_AV_MP4 muxer), the None track would actually be deleted!

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

11 years agoMacGui: fix a bug where the iPod 5G checkbox would be disabled for x264 in MP4.
Rodeo [Sun, 12 May 2013 20:38:45 +0000 (20:38 +0000)]
MacGui: fix a bug where the iPod 5G checkbox would be disabled for x264 in MP4.

This would happen when switching from MKV with a Theora encoder to MP4: the encoder would be reset to x264, but we failed to detect the change of encoder and therefore didn't call videoEncoderPopUpChanged.

Also, don't needlessly call twoPassCheckboxChanged after videoEncoderPopUpChanged since the latter calls the former.

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

11 years agoMacGui: refactor handling on chapter titles.
Rodeo [Sat, 11 May 2013 19:38:49 +0000 (19:38 +0000)]
MacGui: refactor handling on chapter titles.

job->list_chapters is reset by any call to hb_job_reset(), so store chapter titles in an NSArray instead.

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

11 years agoWinGui: Fix a number of cosmetic issues and a bug with the Check for updates dropdown...
sr55 [Sat, 11 May 2013 12:45:45 +0000 (12:45 +0000)]
WinGui: Fix a number of cosmetic issues and a bug with the Check for updates dropdown on a clean system.

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

11 years agoLinGui: fix a problem with batch enqueue
jstebbins [Fri, 10 May 2013 17:16:07 +0000 (17:16 +0000)]
LinGui: fix a problem with batch enqueue

The current chapter start/end was applied to all titles.  So if the
currently selected title has fewer chapters than other titles, chapters
would be missing in the encoded titles.

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

11 years agoLinGui: Fix a bug in audio panel
jstebbins [Thu, 9 May 2013 16:15:39 +0000 (16:15 +0000)]
LinGui: Fix a bug in audio panel
When changing the output track selection, the available bitrates and
mixdowns did not update properly.

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

11 years agoImprove upon previous commit.
Rodeo [Wed, 8 May 2013 22:02:05 +0000 (22:02 +0000)]
Improve upon previous commit.

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

11 years agodecsrtsub: rework character substitution logic.
Rodeo [Wed, 8 May 2013 21:51:00 +0000 (21:51 +0000)]
decsrtsub: rework character substitution logic.

Don't pointlessly convert a line break to a space if it's the last character.

Also, only skip a CR character if it's followed by an LF character. Otherwise, replace it with an LF character or a space, depending on the line number.

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

11 years agoCLI: fix broken code for preserving libhb's default muxer.
Rodeo [Wed, 8 May 2013 17:49:17 +0000 (17:49 +0000)]
CLI: fix broken code for preserving libhb's default muxer.

It was checking if (job->mux) instead of if (mux)…

Also move setting the muxer and muxer options earlier, as we need to know the final muxer when e.g. setting audio settings.

Also, don't set the default audio codec before we have all relevant information.

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

11 years agomuxmkv: fix audio track private data for 24-bit FLAC.
Rodeo [Sun, 5 May 2013 01:54:42 +0000 (01:54 +0000)]
muxmkv: fix audio track private data for 24-bit FLAC.

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

11 years agoLinGui: Fix live preview reset for previews > 10
jstebbins [Fri, 3 May 2013 20:37:47 +0000 (20:37 +0000)]
LinGui: Fix live preview reset for previews > 10

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

11 years agoLinGui: fix live preview "encoded" array size.
jstebbins [Fri, 3 May 2013 16:57:32 +0000 (16:57 +0000)]
LinGui: fix live preview "encoded" array size.
Forgot to bump this when we increased max preview count to 60.

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

11 years agoFix typo in previous commit.
Rodeo [Tue, 30 Apr 2013 23:32:31 +0000 (23:32 +0000)]
Fix typo in previous commit.

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

11 years agoCLI: minor help text updates in preparation for the next release.
Rodeo [Tue, 30 Apr 2013 23:22:45 +0000 (23:22 +0000)]
CLI: minor help text updates in preparation for the next release.

Remove some outdated comments, simplify and clarify a bit.

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

11 years agocontrib: patch libbluray to fix "duplicate" filter
jstebbins [Tue, 30 Apr 2013 22:56:34 +0000 (22:56 +0000)]
contrib: patch libbluray to fix "duplicate" filter
Titles with the same video clips but different stream lists got marked
as duplicate.  Caused valid titles to be filtered out.
Example: Frankenweenie

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

11 years agolibhb: fix crash when EOF is found before first video frame
jstebbins [Tue, 30 Apr 2013 18:35:05 +0000 (18:35 +0000)]
libhb: fix crash when EOF is found before first video frame
buffer got closed twice, once in sync close and once in muxer.

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

11 years agoWinGui: Fix a reset issue on the log window.
sr55 [Tue, 30 Apr 2013 17:39:42 +0000 (17:39 +0000)]
WinGui: Fix a reset issue on the log window.

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

11 years agoWinGui: Fix build
sr55 [Mon, 29 Apr 2013 17:52:43 +0000 (17:52 +0000)]
WinGui: Fix build

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

11 years agoWinGui: Fix Lock System action and hide the quit handbrake option from when done...
sr55 [Mon, 29 Apr 2013 17:46:38 +0000 (17:46 +0000)]
WinGui: Fix Lock System action and hide the quit handbrake option from when done actions.  Quit will return after the release. Won't fix now due to required re factoring work to fix it.

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

11 years agoRefactor add_ffmpeg_audio.
Rodeo [Sun, 28 Apr 2013 21:39:48 +0000 (21:39 +0000)]
Refactor add_ffmpeg_audio.

Simplify, set bitrate to 0 - scan will then call decavcodecaBSInfo,
decode some audio and set the other input parameters, including samples_per_frame.

decavcodec and scan fixes by John Stebbins. Thanks!

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

11 years agosync: fix a hang when the avcodec encoder for silence insertion fails to open.
Rodeo [Sun, 28 Apr 2013 21:13:47 +0000 (21:13 +0000)]
sync: fix a hang when the avcodec encoder for silence insertion fails to open.

This affects e.g. AAC Passthru with more than 6 channels.

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

11 years agoMacGui: harmonize audio configuration code in prepareJob and prepareAudioForJob.
Rodeo [Sun, 28 Apr 2013 21:05:55 +0000 (21:05 +0000)]
MacGui: harmonize audio configuration code in prepareJob and prepareAudioForJob.

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

11 years agoFix log pollution when Auto Passthru is not possible and uses the fallback audio...
Rodeo [Sun, 28 Apr 2013 20:38:20 +0000 (20:38 +0000)]
Fix log pollution when Auto Passthru is not possible and uses the fallback audio encoder, if that encoder does not accept s16(p) input samples.

"work: track 1, dithering not supported by codec"

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

11 years agohb_get_best_mixdown: fix out-of-array reads.
Rodeo [Sun, 28 Apr 2013 20:33:22 +0000 (20:33 +0000)]
hb_get_best_mixdown: fix out-of-array reads.

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