]> granicus.if.org Git - handbrake/log
handbrake
9 years agoQSV: be more picky about marking an encoder as available.
Rodeo [Sat, 27 Jun 2015 22:15:45 +0000 (22:15 +0000)]
QSV: be more picky about marking an encoder as available.

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

9 years agoQSV: check for Skylake hardware-accelerated HEVC encoder.
Rodeo [Sat, 27 Jun 2015 22:13:35 +0000 (22:13 +0000)]
QSV: check for Skylake hardware-accelerated HEVC encoder.

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

9 years agoQSV: load required plug-ins before encoding, too.
Rodeo [Sat, 27 Jun 2015 22:12:12 +0000 (22:12 +0000)]
QSV: load required plug-ins before encoding, too.

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

9 years agoQSV: add new capability guards for some extended video parameter buffers.
Rodeo [Sat, 27 Jun 2015 22:10:00 +0000 (22:10 +0000)]
QSV: add new capability guards for some extended video parameter buffers.

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

9 years agoQSV: parse and print profile & level in a codec-agnostic way.
Rodeo [Sat, 27 Jun 2015 22:04:16 +0000 (22:04 +0000)]
QSV: parse and print profile & level in a codec-agnostic way.

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

9 years agoQSV: B-pyramid support is codec-specific.
Rodeo [Sat, 27 Jun 2015 21:57:28 +0000 (21:57 +0000)]
QSV: B-pyramid support is codec-specific.

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

9 years agoQSV: cleanup LookAheadDepth handling.
Rodeo [Sat, 27 Jun 2015 21:48:25 +0000 (21:48 +0000)]
QSV: cleanup LookAheadDepth handling.

When possible, allow a value of 100 for users that might want it.

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

9 years agolibhb: remove HB_API_OLD_PRESET_GETTERS cruft.
Rodeo [Sat, 27 Jun 2015 21:44:00 +0000 (21:44 +0000)]
libhb: remove HB_API_OLD_PRESET_GETTERS cruft.

None of the frontends are using it anymore.

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

9 years agoWinGui: Couple of workaround fixes for the preset service until refactoring is completed.
sr55 [Fri, 26 Jun 2015 20:27:47 +0000 (20:27 +0000)]
WinGui: Couple of workaround fixes for the preset service until refactoring is completed.

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

9 years agoDoc: Add missing - to command.
sr55 [Fri, 26 Jun 2015 20:18:18 +0000 (20:18 +0000)]
Doc: Add missing - to command.

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

9 years agoWinGui: Completely replace the plist preset import code with the functionality built...
sr55 [Fri, 26 Jun 2015 20:14:25 +0000 (20:14 +0000)]
WinGui: Completely replace the plist preset import code with the functionality built into libhb. This now allows the new json preset format to be imported, as well as the legacy plist format.

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

9 years agoUpdated MinGW doc file
sr55 [Fri, 26 Jun 2015 19:25:11 +0000 (19:25 +0000)]
Updated MinGW doc file

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

9 years agoDoc: MinGW build doc updates.
sr55 [Fri, 26 Jun 2015 19:20:39 +0000 (19:20 +0000)]
Doc: MinGW build doc updates.

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

9 years agoadd new preset function to header file
jstebbins [Wed, 24 Jun 2015 15:10:09 +0000 (15:10 +0000)]
add new preset function to header file

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

9 years agopresets: add hb_presets_read_file_json()
jstebbins [Wed, 24 Jun 2015 15:07:11 +0000 (15:07 +0000)]
presets: add hb_presets_read_file_json()

First tries to intrepret file as json.  If that fails, tries plist.
Returns a json string.

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

9 years agolibhb: re-work OpenCL cleanup a bit.
Rodeo [Tue, 23 Jun 2015 22:35:29 +0000 (22:35 +0000)]
libhb: re-work OpenCL cleanup a bit.

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

9 years agoDXVA2: make hb_va_create_dxva2 less verbose.
Rodeo [Tue, 23 Jun 2015 22:10:15 +0000 (22:10 +0000)]
DXVA2: make hb_va_create_dxva2 less verbose.

Since we can easily fall back on the software
decoder, these errors aren't exactly fatal.

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

9 years agoDXVA2: check if a compatible AVHWAccel exists for the input codec.
Rodeo [Tue, 23 Jun 2015 22:01:18 +0000 (22:01 +0000)]
DXVA2: check if a compatible AVHWAccel exists for the input codec.

Otherwise, disable DXVA2 support for the title.

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

9 years agoDXVA2: cleanup decode support checks.
Rodeo [Tue, 23 Jun 2015 17:09:34 +0000 (17:09 +0000)]
DXVA2: cleanup decode support checks.

This should fix https://forum.handbrake.fr/viewtopic.php?f=11&t=32520

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

9 years agoMinor cleanup after last commit.
Rodeo [Tue, 23 Jun 2015 16:27:04 +0000 (16:27 +0000)]
Minor cleanup after last commit.

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

9 years agolibhb: add DXVA2-accelerated HEVC decoding.
Rodeo [Tue, 23 Jun 2015 16:21:18 +0000 (16:21 +0000)]
libhb: add DXVA2-accelerated HEVC decoding.

Patch by Zhang Zhiqiang. Thanks!

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

9 years agoBackport hevc_dxva2 hwaccel from libav master.
Rodeo [Tue, 23 Jun 2015 14:39:39 +0000 (14:39 +0000)]
Backport hevc_dxva2 hwaccel from libav master.

To build, replace your MinGW-w64's dxva.h header with one from
MinGW-w64 c5e6e721a1ef94870062cef64bb41dd8bcb1f8d7 or later.

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

9 years agoWinGui: Initial implementation of quality based encoding option. Please note, the...
sr55 [Sat, 20 Jun 2015 19:45:31 +0000 (19:45 +0000)]
WinGui: Initial implementation of quality based encoding option. Please note, the preset version has been bumped so user presets will need to be re-created.

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

9 years agoWinGui: Fetch Audio Bitrates, Bitrate Defaults, Samplerates from LibHB
sr55 [Sat, 20 Jun 2015 15:10:14 +0000 (15:10 +0000)]
WinGui: Fetch Audio Bitrates, Bitrate Defaults, Samplerates from LibHB

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

9 years agoWinGui: Move options strings to resources.
sr55 [Thu, 18 Jun 2015 19:58:31 +0000 (19:58 +0000)]
WinGui: Move options strings to resources.

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

9 years agoWinGui: "Start Encode" resource corrected.
sr55 [Thu, 18 Jun 2015 19:27:16 +0000 (19:27 +0000)]
WinGui: "Start Encode" resource corrected.

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

9 years agoLinGui: fix video options edit box tooltip
jstebbins [Wed, 17 Jun 2015 21:59:26 +0000 (21:59 +0000)]
LinGui: fix video options edit box tooltip

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

9 years agoWinGui: Another alignment issue fix.
sr55 [Tue, 16 Jun 2015 18:57:52 +0000 (18:57 +0000)]
WinGui: Another alignment issue fix.

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

9 years agoWinGui: Fix an issue with the json preset factory not correctly setting the auto...
sr55 [Tue, 16 Jun 2015 18:56:57 +0000 (18:56 +0000)]
WinGui: Fix an issue with the json preset factory not correctly setting the auto-crop flag. Minor UI alignment issue fixed on the Picture tab.

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

9 years agoUpdate libmfx to v6.0.0.349
Rodeo [Tue, 16 Jun 2015 17:25:23 +0000 (17:25 +0000)]
Update libmfx to v6.0.0.349

Adds support for version 1.15 of the Intel Media SDK API.

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

9 years agoInterop: Updated ApplicationServices DLL to target AnyCPU.
randomengy [Mon, 15 Jun 2015 01:39:58 +0000 (01:39 +0000)]
Interop: Updated ApplicationServices DLL to target AnyCPU.

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

9 years agoInterop: Updated to return PassId as well as Pass on encode progress.
randomengy [Mon, 15 Jun 2015 01:05:43 +0000 (01:05 +0000)]
Interop: Updated to return PassId as well as Pass on encode progress.

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

9 years agolibhb: fix application of custom anamorphic settings
jstebbins [Sun, 14 Jun 2015 20:03:19 +0000 (20:03 +0000)]
libhb: fix application of custom anamorphic settings

Thanks to wickning1 in the forums
https://forum.handbrake.fr/viewtopic.php?f=4&t=32631&sid=e05d32d1f34bbcaab59d321f6c6222cf

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

9 years agolibhb: Allow log level changes and update checks *after* hb_init()
jstebbins [Fri, 12 Jun 2015 20:52:01 +0000 (20:52 +0000)]
libhb: Allow log level changes and update checks *after* hb_init()

- In the CLI, this allows calling hb_init() before parsing args, which
permits us to see any libhb log messages that are generated during
option parsing.  These messages were hidden before.
- In the GUIs, this allows dynamic changes to log level.  Previously an
application restart was required.  I have only updated the LinGui to
take advantage of this.

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

9 years agoWinGui: Move user control strings to resources.
sr55 [Thu, 11 Jun 2015 19:39:03 +0000 (19:39 +0000)]
WinGui: Move user control strings to resources.

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

9 years agoWinGui: Moving the bulk of the view model strings to resources.
sr55 [Thu, 11 Jun 2015 19:33:30 +0000 (19:33 +0000)]
WinGui: Moving the bulk of the view model strings to resources.

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

9 years agoWinGui: Adding missing resources files.
sr55 [Tue, 9 Jun 2015 18:14:04 +0000 (18:14 +0000)]
WinGui: Adding missing resources files.

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

9 years agoCLI: Use json job instead of job
jstebbins [Tue, 9 Jun 2015 15:17:30 +0000 (15:17 +0000)]
CLI: Use json job instead of job

This allows libhb to log the json job for the CLI.

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

9 years agolibhb: log json job string
jstebbins [Tue, 9 Jun 2015 15:17:29 +0000 (15:17 +0000)]
libhb: log json job string

For now, the log leve of this is 1.  When we feel that the json job code
has stabilized, we may want to change the log level to 2 or 3.

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

9 years agolibhb: Eliminate string length limit in hb_valog
jstebbins [Tue, 9 Jun 2015 15:17:26 +0000 (15:17 +0000)]
libhb: Eliminate string length limit in hb_valog

This eliminates the length limit of all libhb logging functions. The
previous limit was 361 chars.  Now it is only limited by available
memory.

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

9 years agoencx265: fix regression introduced in SVN revision 6366.
Rodeo [Mon, 8 Jun 2015 18:27:37 +0000 (18:27 +0000)]
encx265: fix regression introduced in SVN revision 6366.

Unknown options and bad values were never fatal for any libhb encoder.

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

9 years agoWinGui: Moving more of the view strings into resources.
sr55 [Sun, 7 Jun 2015 19:52:52 +0000 (19:52 +0000)]
WinGui: Moving more of the view strings into resources.

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

9 years agoWinGui: Starting to move UI text string to resources. This will allow us to start...
sr55 [Thu, 4 Jun 2015 20:54:14 +0000 (20:54 +0000)]
WinGui: Starting to move UI text string to resources. This will allow us to start looking at localisations on the windows gui.

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

9 years agoMacGui: remove a unneeded statement, built-in presets already have the selection...
ritsuka [Thu, 4 Jun 2015 06:58:32 +0000 (06:58 +0000)]
MacGui: remove a unneeded statement, built-in presets already have the selection behaviour.

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

9 years agoMacGui: update the layout of the add preset window.
ritsuka [Thu, 4 Jun 2015 06:57:22 +0000 (06:57 +0000)]
MacGui: update the layout of the add preset window.

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

9 years agobd: use the correct printf specifier for unsigned variables.
Rodeo [Wed, 3 Jun 2015 21:40:39 +0000 (21:40 +0000)]
bd: use the correct printf specifier for unsigned variables.

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

9 years agoWinGui: Fix the Video Profile option in the JSON preset marshaller.
sr55 [Wed, 3 Jun 2015 17:50:34 +0000 (17:50 +0000)]
WinGui: Fix the Video Profile option in the JSON preset marshaller.

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

9 years agoWinGui: Revert last change. Only set the GUI to enabled when editing queue items...
sr55 [Wed, 3 Jun 2015 17:30:49 +0000 (17:30 +0000)]
WinGui: Revert last change.  Only set the GUI to enabled when editing queue items instead. It's not necessary for the queue runs as the toolbar is still active anyway.

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

9 years agoWinGui: Queue Recovery now sets the GUI to enabled if it recovers a job.
sr55 [Wed, 3 Jun 2015 17:21:56 +0000 (17:21 +0000)]
WinGui: Queue Recovery now sets the GUI to enabled if it recovers a job.

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

9 years agobd: fix printf warnings
jstebbins [Wed, 3 Jun 2015 15:38:47 +0000 (15:38 +0000)]
bd: fix printf warnings

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

9 years agolibhb: fix green bottom line in preview with deinterlace
jstebbins [Wed, 3 Jun 2015 15:34:44 +0000 (15:34 +0000)]
libhb: fix green bottom line in preview with deinterlace

... and "fast" deinterlace

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

9 years agoInitialize the copy_mask variable before using it
ritsuka [Wed, 3 Jun 2015 05:59:06 +0000 (05:59 +0000)]
Initialize the copy_mask variable before using it

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

9 years agoFix another dead assignment.
ritsuka [Wed, 3 Jun 2015 05:50:07 +0000 (05:50 +0000)]
Fix another dead assignment.

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

9 years agoFix three dead assignment found by the clang static analyzer, including the validatio...
ritsuka [Wed, 3 Jun 2015 05:40:39 +0000 (05:40 +0000)]
Fix three dead assignment found by the clang static analyzer, including the validation of the end chapter range.

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

9 years agoFix flac fallback for passthru
ritsuka [Wed, 3 Jun 2015 05:32:35 +0000 (05:32 +0000)]
Fix flac fallback for passthru

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

9 years agodecomb: fix color distortion in last row of image
jstebbins [Mon, 1 Jun 2015 21:00:26 +0000 (21:00 +0000)]
decomb: fix color distortion in last row of image

Prevent blending uninitialized lines of data into last row.

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

9 years agoCLI: fix --crop option
jstebbins [Mon, 1 Jun 2015 21:00:20 +0000 (21:00 +0000)]
CLI: fix --crop option

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

9 years agofix three warnings.
ritsuka [Mon, 1 Jun 2015 17:24:50 +0000 (17:24 +0000)]
fix three warnings.

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

9 years agoMacGui: fix the audio defaults to use the languages specified in the preferences.
ritsuka [Mon, 1 Jun 2015 17:23:11 +0000 (17:23 +0000)]
MacGui: fix the audio defaults to use the languages specified in the preferences.

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

9 years agoMacGui: add more nullability annotations.
ritsuka [Mon, 1 Jun 2015 17:21:48 +0000 (17:21 +0000)]
MacGui: add more nullability annotations.

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

9 years agoMacGui: split HBTitle header to make it easier to test. Added some simple tests.
ritsuka [Mon, 1 Jun 2015 17:20:43 +0000 (17:20 +0000)]
MacGui: split HBTitle header to make it easier to test. Added some simple tests.

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

9 years agoMacGui: do not try to create a NSURL if the path if empty. Encode the right type...
ritsuka [Mon, 1 Jun 2015 17:18:35 +0000 (17:18 +0000)]
MacGui: do not try to create a NSURL if the path if empty. Encode the right type for the deblock filter.

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

9 years agoFix a couple of memory leaks
jstebbins [Mon, 1 Jun 2015 15:39:05 +0000 (15:39 +0000)]
Fix a couple of memory leaks

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

9 years agoWinGui: Use the new libhb preset management code to fetch built-in presets on startup...
sr55 [Sun, 31 May 2015 13:45:18 +0000 (13:45 +0000)]
WinGui: Use the new libhb preset management code to fetch built-in presets on startup.  Note, the preset update notice is now gone so anyone hacking the preset dat files will not be notified when it gets overwritten now.

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

9 years agoMacGui: remove a useless cast for the deblock value.
ritsuka [Sun, 31 May 2015 06:53:10 +0000 (06:53 +0000)]
MacGui: remove a useless cast for the deblock value.

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

9 years agoMacGui: fix custom denoise settings.
ritsuka [Sun, 31 May 2015 06:50:54 +0000 (06:50 +0000)]
MacGui: fix custom denoise settings.

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

9 years agoMacGui: cast the value of UsesPictureFilters to bool so the dictionary will use a...
ritsuka [Sat, 30 May 2015 07:49:16 +0000 (07:49 +0000)]
MacGui: cast the value of UsesPictureFilters to bool so the dictionary will use a bool to represent it internally, and hb_presets_clean_json() won't complain.

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

9 years agoMacGui: fix the leaks after using hb_presets_import_json and hb_presets_clean_json...
ritsuka [Sat, 30 May 2015 07:45:00 +0000 (07:45 +0000)]
MacGui: fix the leaks after using hb_presets_import_json and hb_presets_clean_json, add an extension to NSJSONSerialization to convert a char * directly.

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

9 years agoMacGui: add nullability annotations to the headers and use weak where is possible.
ritsuka [Sat, 30 May 2015 07:17:22 +0000 (07:17 +0000)]
MacGui: add nullability annotations to the headers and use weak where is possible.

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

9 years agoMacGui: don't hardcode which encoders support the preset system.
Rodeo [Fri, 29 May 2015 22:20:35 +0000 (22:20 +0000)]
MacGui: don't hardcode which encoders support the preset system.

Just ask libhb instead.

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

9 years agoLinGui: fix setting "autoscale" widget value from preset
jstebbins [Fri, 29 May 2015 22:18:15 +0000 (22:18 +0000)]
LinGui: fix setting "autoscale" widget value from preset

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

9 years agopreset: fix application of VideoScaler to job
jstebbins [Fri, 29 May 2015 22:17:14 +0000 (22:17 +0000)]
preset: fix application of VideoScaler to job

Broken strcasecmp conditional caused OpenCl to be added to the job when
it should not have been and *not* added to the job when it should.

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

9 years agolibhb: fix issues with video options
jstebbins [Thu, 28 May 2015 20:29:01 +0000 (20:29 +0000)]
libhb: fix issues with video options

Fixes: https://forum.handbrake.fr/viewtopic.php?f=10&t=32535&sid=321e6d1092fd09c8d380e13e86d1a9ee
- Sanitize empty video encoder settings strings to NULL.
- In the CLI, use encoder defaults if user changes the preset's video
  encoder.

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

9 years agoLinGui: simplify some video widget dependency handling
jstebbins [Thu, 28 May 2015 20:15:43 +0000 (20:15 +0000)]
LinGui: simplify some video widget dependency handling

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

9 years agoLinGui: disable level widget when no levels returned by libhb
jstebbins [Thu, 28 May 2015 18:04:32 +0000 (18:04 +0000)]
LinGui: disable level widget when no levels returned by libhb

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

9 years agoLinGui: fix build error on ubuntu
jstebbins [Thu, 28 May 2015 14:57:25 +0000 (14:57 +0000)]
LinGui: fix build error on ubuntu

For some reason, fedora has "bool" type defined where ubuntu does not.
Use gboolean.

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

9 years agolibbluray: bump to version 0.8.1
jstebbins [Wed, 27 May 2015 17:16:08 +0000 (17:16 +0000)]
libbluray: bump to version 0.8.1

Fixes a minor memory leak in libudfread

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

9 years agoLinGui: use libhb to initialize job...
jstebbins [Wed, 27 May 2015 17:14:42 +0000 (17:14 +0000)]
LinGui: use libhb to initialize job...

...and set some job settings as values change in the UI.  This
eliminates a large chunk of job setup code.

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

9 years agoWinGui: Change audio track behaviours default to None so current presets are not...
sr55 [Tue, 26 May 2015 20:33:25 +0000 (20:33 +0000)]
WinGui: Change audio track behaviours default to None so current presets are not affected.

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

9 years agoWinGui: Adding new dropdown to the Configure Audio Options. The new "Track Setting...
sr55 [Tue, 26 May 2015 20:30:10 +0000 (20:30 +0000)]
WinGui: Adding new dropdown to the Configure Audio Options. The new "Track Setting Default Behaviour" allows the choice of what settings are used for automatically added tracks.
1. All Preset tracks are cloned for each of the added languages tracks.
2. The first preset track is cloned for each of the added languages tracks.
3. Default 160kbit DPL2 AAC audio track for each of the added languages tracks.

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

9 years agoWinGui: - Some updates to the libhb preset wrapper code. - Remove Preset update...
sr55 [Tue, 26 May 2015 19:15:22 +0000 (19:15 +0000)]
WinGui: - Some updates to the libhb preset wrapper code.  - Remove Preset update notification and option.

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

9 years agoscan: skip scan if title has already been scanned
jstebbins [Tue, 26 May 2015 17:10:09 +0000 (17:10 +0000)]
scan: skip scan if title has already been scanned

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

9 years agolibhb: fix vorbis encoding
jstebbins [Mon, 25 May 2015 16:16:35 +0000 (16:16 +0000)]
libhb: fix vorbis encoding

Was broken when we switched to using EOF flag instead of 0 length buffer.

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

9 years agocli: fix display of fps in title summary
jstebbins [Sun, 24 May 2015 16:46:00 +0000 (16:46 +0000)]
cli: fix display of fps in title summary

Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=32507

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

9 years agopreset: fix application of mp4 mux options
jstebbins [Sun, 24 May 2015 16:30:17 +0000 (16:30 +0000)]
preset: fix application of mp4 mux options

Fixes https://forum.handbrake.fr/viewtopic.php?f=10&t=32445&p=151040#p151008

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

9 years agoMacGui: fix queue reading on 10.7.
ritsuka [Sat, 23 May 2015 09:07:53 +0000 (09:07 +0000)]
MacGui: fix queue reading on 10.7.

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

9 years agoMacGui: remove a workaround for a bug in 10.6.
ritsuka [Thu, 21 May 2015 17:00:05 +0000 (17:00 +0000)]
MacGui: remove a workaround for a bug in 10.6.

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

9 years agoMacGui: set the deployment target to 10.7.
ritsuka [Thu, 21 May 2015 16:57:49 +0000 (16:57 +0000)]
MacGui: set the deployment target to 10.7.

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

9 years agox265: bump to version 1.7
jstebbins [Thu, 21 May 2015 15:42:50 +0000 (15:42 +0000)]
x265: bump to version 1.7

Eliminates the need for our cleanup patch.
Various bug fixes and improvements.

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

9 years agoMacGui: add a test target to the Xcode project, plus some simple test. Use a forward...
ritsuka [Wed, 20 May 2015 19:25:36 +0000 (19:25 +0000)]
MacGui: add a test target to the Xcode project, plus some simple test. Use a forward declaration instead of a #import to in HBJob to allow testing to work.

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

9 years agoLinGui: use libhb to init audio and subtitle lists
jstebbins [Wed, 20 May 2015 17:52:51 +0000 (17:52 +0000)]
LinGui: use libhb to init audio and subtitle lists

This eliminates a lot of essentially duplicate code in LinGui for
initializing these lists.

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

9 years agolibhb: assume remix support when input layout is not set.
Rodeo [Tue, 19 May 2015 21:26:51 +0000 (21:26 +0000)]
libhb: assume remix support when input layout is not set.

Allows querying an encoder's default mixdown from places where the
input channel layout is unavailable (e.g. audio defaults panel).

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

9 years agoLinGui: refactor subtitle pane
jstebbins [Tue, 19 May 2015 21:16:14 +0000 (21:16 +0000)]
LinGui: refactor subtitle pane

Store subtitle track info in json job compatible format.  Copy directly
into job when adding new job.

Also, removed "Foreign audio search" from the subtitle track dropdown
and made an explicit "Foreign audio search" toolbar button.
This makes it easy to enforce only one such track in the list
and gives me a place to put a better tooltip explaining FAS.

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

9 years agoMacGui: better samplerate validation.
Rodeo [Tue, 19 May 2015 20:21:47 +0000 (20:21 +0000)]
MacGui: better samplerate validation.

Not all encoders support all samplerate, so we
filter the list based on the encoder and validate
the selected samplerate when switching encoders.

Also improve bitrate validation a bit.

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

9 years agoLinGui: more audio refactoring
jstebbins [Mon, 18 May 2015 20:12:26 +0000 (20:12 +0000)]
LinGui: more audio refactoring

Since the audio list is now in the proper format for json job, simply
copy the audio list when creating the job.

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

9 years agodict: make hb_value_get_json param const
jstebbins [Mon, 18 May 2015 20:10:49 +0000 (20:10 +0000)]
dict: make hb_value_get_json param const

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

9 years agoWinGui: General tidy up and remove the custom styling for the app. The app will now...
sr55 [Sun, 17 May 2015 21:01:30 +0000 (21:01 +0000)]
WinGui: General tidy up and remove the custom styling for the app. The app will now always honour the system defaults.

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

9 years agoMacGui: add more tooltips. All the tooltips in https://reviews.handbrake.fr/r/60...
ritsuka [Sun, 17 May 2015 19:41:34 +0000 (19:41 +0000)]
MacGui: add more tooltips. All the tooltips in https://reviews.handbrake.fr/r/60/ minus the ones for the labels.

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

9 years agopreset_template: allow all supported passthru codecs by default.
Rodeo [Sun, 17 May 2015 16:13:09 +0000 (16:13 +0000)]
preset_template: allow all supported passthru codecs by default.

That way, very old presets and (more importantly) built-in
presets do not force a restricted copy mask on the user.

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

9 years agoMacGui: I would commit seppuku, but I am no samurai.
Rodeo [Sun, 17 May 2015 15:09:14 +0000 (15:09 +0000)]
MacGui: I would commit seppuku, but I am no samurai.

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