]> granicus.if.org Git - handbrake/log
handbrake
7 years agolibav: fix mp4 edit list delay rounding error
John Stebbins [Tue, 21 Feb 2017 17:39:01 +0000 (10:39 -0700)]
libav: fix mp4 edit list delay rounding error

The error was small, but could result in a 1ms shift for every
generation of remuxing.

7 years agoencavcodecaudio: set encoder time_base to 90khz
John Stebbins [Tue, 21 Feb 2017 17:33:10 +0000 (10:33 -0700)]
encavcodecaudio: set encoder time_base to 90khz

Setting the time_base to 90khz reduces rounding errors when converting
back and forth from the default which was sample_rate.

7 years agoencavcodecaudio: fix dropping of final input packet
John Stebbins [Tue, 21 Feb 2017 17:31:37 +0000 (10:31 -0700)]
encavcodecaudio: fix dropping of final input packet

When exactly input_samples were left in the input buffer, we were
dropping them when they could be encoded.

7 years agoopencl: better release of OpenCL context to avoid more leaks
maxd [Thu, 9 Feb 2017 20:04:59 +0000 (21:04 +0100)]
opencl: better release of OpenCL context to avoid more leaks

7 years agoopencl: fixing leaks for clBuffers
maxd [Sat, 4 Feb 2017 19:31:31 +0000 (20:31 +0100)]
opencl: fixing leaks for clBuffers

7 years agoencca_aac: factory encoder delay into timestamps
John Stebbins [Mon, 20 Feb 2017 17:53:01 +0000 (10:53 -0700)]
encca_aac: factory encoder delay into timestamps

And set audio init_delay so that we can record the encoder delay in the
output container.

7 years agolibav: explicitly write encoder delay and preroll to mp4
John Stebbins [Mon, 20 Feb 2017 17:49:44 +0000 (10:49 -0700)]
libav: explicitly write encoder delay and preroll to mp4

This will make it possible to read encoder delay back and drop the
samples appropriately.

Writing preroll sample group to the mp4 fixes post-processing of the
file with Apple tools.  If the roll sample group is not present, Apple
tools will apply an implicit rule to remove encoder delay which results
in the delay being dropped twice.

7 years agolibav: revise edit list offset patch
John Stebbins [Sun, 19 Feb 2017 22:03:02 +0000 (15:03 -0700)]
libav: revise edit list offset patch

No functional difference

7 years agopreset: fix application of anamorphic "Off"
John Stebbins [Sun, 19 Feb 2017 15:36:20 +0000 (08:36 -0700)]
preset: fix application of anamorphic "Off"

7 years agosync: fix sync problem with delayed streams
John Stebbins [Sat, 18 Feb 2017 21:11:17 +0000 (14:11 -0700)]
sync: fix sync problem with delayed streams

If a stream is delayed by a large amount and the first timestamp from
the stream is AV_NOPTS_VALUE, sync assumed a 0 timestamp which caused
loss of sync.  Drop the buffer instead.

7 years agodecavcodec: fix comment
John Stebbins [Sat, 18 Feb 2017 21:10:51 +0000 (14:10 -0700)]
decavcodec: fix comment

7 years agoEnabled "Per monitor DPI awareness"
Waterflames [Sat, 18 Feb 2017 13:11:57 +0000 (14:11 +0100)]
Enabled "Per monitor DPI awareness"

This commit adds entries to app.config and app.manifest to enable per
monitor DPI awareness in Windows 10. The application will behave as
before on platforms that do not support this.

The implementation was done using official Microsoft documentation:
https://github.com/Microsoft/WPF-Samples/tree/master/PerMonitorDPI

7 years agoWinGui: Fix a logic error in 8vs10bit video encoder detection in the advanced view.
sr55 [Fri, 17 Feb 2017 19:11:19 +0000 (19:11 +0000)]
WinGui: Fix a logic error in 8vs10bit video encoder detection in the advanced view.

7 years agoqsv: fix init_delay reference
John Stebbins [Thu, 16 Feb 2017 04:44:20 +0000 (21:44 -0700)]
qsv: fix init_delay reference

Missed changing this when moving init_delay out of esconfig union

7 years agomuxavformat: Inform muxer of encoder delay
John Stebbins [Wed, 15 Feb 2017 22:47:49 +0000 (15:47 -0700)]
muxavformat: Inform muxer of encoder delay

initial_padding is used to inform libav muxers of initial encoder delay
duration.  When set for mkv it can be used to remove the silence samples
during playback since the delay value gets stored in the mkv CodecDelay
element.

7 years agolibav: fix mkv timestamps when initial_padding is set
John Stebbins [Wed, 15 Feb 2017 22:43:48 +0000 (15:43 -0700)]
libav: fix mkv timestamps when initial_padding is set

initial_padding is used to inform libav muxers of initial encoder delay
duration.  When set for mkv it can be used to remove the silence samples
during playback.

7 years agolibav: fix mp4 edit list A/V sync properly
John Stebbins [Wed, 15 Feb 2017 19:22:48 +0000 (12:22 -0700)]
libav: fix mp4 edit list A/V sync properly

7 years agolibav: fix failure to scan wmv file
John Stebbins [Wed, 15 Feb 2017 17:37:02 +0000 (10:37 -0700)]
libav: fix failure to scan wmv file

Fixes problem reported here
https://forum.handbrake.fr/viewtopic.php?f=11&t=35690

Also possibly related
https://github.com/HandBrake/HandBrake/issues/466
https://github.com/HandBrake/HandBrake/issues/495

7 years agolibav: fix crash when scanning wmv file
John Stebbins [Wed, 15 Feb 2017 17:29:39 +0000 (10:29 -0700)]
libav: fix crash when scanning wmv file

Fixes crash reported here
https://forum.handbrake.fr/viewtopic.php?f=11&t=35690

Does not fix scan problem, but follow-up commit will.

Also possibly related
https://github.com/HandBrake/HandBrake/issues/466
https://github.com/HandBrake/HandBrake/issues/495

7 years agomux: revert shift timestamps by largest encoder delay
John Stebbins [Tue, 14 Feb 2017 23:36:07 +0000 (16:36 -0700)]
mux: revert shift timestamps by largest encoder delay

Ugh! I need a brain transplant!  This would have cause a properly
functioning player to insert silence at the start of playback that
wasn't in the original source.

reverts 5429a92c51682240acbbe7b150d314d993d7d3a0

7 years agomux: shift timestamps by largest encoder delay
John Stebbins [Tue, 14 Feb 2017 23:25:40 +0000 (16:25 -0700)]
mux: shift timestamps by largest encoder delay

This prevents libav from adding an mp4 edit list entry that causes a
properly functioning player to drop the first couple of audio frames.

7 years agoFixed Botton to Bottom
supachris28 [Sun, 12 Feb 2017 16:36:26 +0000 (16:36 +0000)]
Fixed Botton to Bottom

7 years agoWinGui: Further Relax the stylecop rules.
sr55 [Sat, 11 Feb 2017 20:37:46 +0000 (20:37 +0000)]
WinGui: Further Relax the stylecop rules.

7 years agoWinGui: Fix a number of stylecop warnings.
sr55 [Sat, 11 Feb 2017 20:37:33 +0000 (20:37 +0000)]
WinGui: Fix a number of stylecop warnings.

7 years agoWinGui: Remove old AssemblyInfo Templates.
sr55 [Sat, 11 Feb 2017 18:44:35 +0000 (18:44 +0000)]
WinGui: Remove old AssemblyInfo Templates.

7 years agoWinGui: Setup the Stylecop rules to be a bit more relaxed.
sr55 [Sat, 11 Feb 2017 15:47:50 +0000 (15:47 +0000)]
WinGui: Setup the Stylecop rules to be a bit more relaxed.

7 years agoWinGui: Remove CSV Reader library as we no longer use it.
sr55 [Sat, 11 Feb 2017 15:13:29 +0000 (15:13 +0000)]
WinGui: Remove CSV Reader library as we no longer use it.

7 years agoWinGui: Change the following libraries to use NuGet sources.
sr55 [Sat, 11 Feb 2017 15:11:06 +0000 (15:11 +0000)]
WinGui: Change the following libraries to use NuGet sources.
- Gong-WPF-DragDrop  (Upgraded to 0.1.4.3 -> 1.1.0)
- NewtonSoft.Json (Upgraded to 7.0.0 -> 9.0.1)
- Ookii.Dialogs 1.0
- Caliburn Micro (Upgraded to 2.0.2 -> 3.0.3)

7 years agoWinGui: Add StyleCop.Analyzers NuGet package
sr55 [Sat, 11 Feb 2017 14:44:46 +0000 (14:44 +0000)]
WinGui: Add   StyleCop.Analyzers NuGet package

7 years agoWinGui: Further CProj Cleanup
sr55 [Sat, 11 Feb 2017 13:48:03 +0000 (13:48 +0000)]
WinGui: Further CProj Cleanup

7 years agoWinGui: Tidy up Solution file builds.
sr55 [Sat, 11 Feb 2017 13:35:23 +0000 (13:35 +0000)]
WinGui: Tidy up Solution file builds.

7 years agoWinGui: Remove Stylecop Classic. (As a side note, HandBrake.ApplicationServices now...
sr55 [Sat, 11 Feb 2017 13:33:08 +0000 (13:33 +0000)]
WinGui: Remove Stylecop Classic. (As a side note, HandBrake.ApplicationServices now compiles cleanly under Mono)

7 years agoWinGui: Remove HandBrake.Server library. We don't use it.
sr55 [Sat, 11 Feb 2017 13:28:57 +0000 (13:28 +0000)]
WinGui: Remove HandBrake.Server library. We don't use it.

7 years agolibav: fix mp4 audio sync problem
John Stebbins [Fri, 10 Feb 2017 18:26:59 +0000 (11:26 -0700)]
libav: fix mp4 audio sync problem

Initial CTS (composition offset) was essentially getting added twice to
the computed PTS

Fixes https://github.com/HandBrake/HandBrake/issues/568

Here's a description of how mp4 timestamps work and what is going wrong
for the curious.

Terminology:
pts = presentation timestamp, when a frame is displayed
dts = decode timestamp, when a frame is decoded
cts = composition offset, pts - dts
empty edit = defines the pts of the first frame in an mp4 track

mp4 timestamps are computed from 3 primary values that are in the mp4
stream.

    An "empty edit" in the track edit list
    per frame duration
    per frame cts

Here's where things get messy. How do you compute pts(N) and dts(N) for
some frame N from only the above 3 values in the mp4 file?

    empty edit == pts(0) and is read from the mp4 file (EDTS table)
    duration(N) is read from the mp4 file (STTS table)
    cts(N) is read from the mp4 file (CTTS table)

We know cts(0) = pts(0) - dts(0) by definition of cts
And cts(0) and pts(0) are known since they can be read from the mp4 file

This is the step libav gets wrong!
Therefore we can compute dts(0) = pts(0) - cts(0).
libav computes dts(0) = pts(0) which shifts all frames by cts(0)

After that dts(N) = dts(0) + duration(0) + ... + duration(N-1)
And finally pts(N) = dts(N) + cts(N)

7 years agoLinGui: fix crash when changing video encoders
John Stebbins [Fri, 10 Feb 2017 17:53:11 +0000 (10:53 -0700)]
LinGui: fix crash when changing video encoders

Attempt to access invalid encoder preset index accesses invalid memory

7 years agoWinGui: Fix Tape, Sprite and HighMotion Denoise Tunes. #571
sr55 [Thu, 9 Feb 2017 18:54:21 +0000 (18:54 +0000)]
WinGui: Fix Tape, Sprite and HighMotion Denoise Tunes. #571

7 years agolibhb: fix Bob + CFR Same As Source + 2 Pass encode
John Stebbins [Thu, 9 Feb 2017 17:23:19 +0000 (10:23 -0700)]
libhb: fix Bob + CFR Same As Source + 2 Pass encode

The bob filter predicts the resulting output framerate as 2 * input
framerate.  So during 2 pass encoding, we must adjust the framerate with
the knows 1st pass values *after* any predictions made by filters.

Fixes https://github.com/HandBrake/HandBrake/issues/556

7 years agolibav: fix h.264 initial recovery point detection
John Stebbins [Thu, 9 Feb 2017 16:29:16 +0000 (09:29 -0700)]
libav: fix h.264 initial recovery point detection

Initial GOP of video was dropped during decode.
Fixes https://github.com/HandBrake/HandBrake/issues/520

7 years agoWinGui: Allow Title Specific Scan for DVD / Bluray Discs. Fixes #559
sr55 [Mon, 6 Feb 2017 19:50:25 +0000 (19:50 +0000)]
WinGui: Allow Title Specific Scan for DVD / Bluray Discs. Fixes #559

7 years agoUpdating NEWS file
sr55 [Sat, 4 Feb 2017 16:06:10 +0000 (16:06 +0000)]
Updating NEWS file

7 years agoWinGui: Order By Name R-Click option on Add to queue selection window.
sr55 [Sat, 4 Feb 2017 15:51:34 +0000 (15:51 +0000)]
WinGui: Order By Name R-Click option on Add to queue selection window.

7 years agoMacGui: allow to sort by title/name/duration in the title selections sheet.
Damiano Galassi [Sat, 4 Feb 2017 13:04:37 +0000 (14:04 +0100)]
MacGui: allow to sort by title/name/duration in the title selections sheet.

7 years agoMacGui: make it possible to create a new folder in the destination open panel.
Damiano Galassi [Sat, 4 Feb 2017 09:27:20 +0000 (10:27 +0100)]
MacGui: make it possible to create a new folder in the destination open panel.

7 years agoMacGui: add a "Add titles to queue" toolbar button.
Damiano Galassi [Sat, 4 Feb 2017 09:26:35 +0000 (10:26 +0100)]
MacGui: add a "Add titles to queue" toolbar button.

7 years agoMacGui: set toolbar images dpi to 72, so Xcode doesn't go crazy and resize things...
Damiano Galassi [Sat, 4 Feb 2017 09:25:08 +0000 (10:25 +0100)]
MacGui: set toolbar images dpi to 72, so Xcode doesn't go crazy and resize things randomly.

7 years agoWinGui: Remove further unneeded references from HandBrake.ApplicationServices
sr55 [Sun, 29 Jan 2017 17:33:59 +0000 (17:33 +0000)]
WinGui: Remove further unneeded references from HandBrake.ApplicationServices

7 years agoWinGui: Change the services library dll imports to be "hb" rather than "hb.dll"....
sr55 [Sun, 29 Jan 2017 17:29:27 +0000 (17:29 +0000)]
WinGui: Change the services library dll imports to be "hb" rather than "hb.dll".  This will allow  libhb.dylib and libhb.so to be loaded.

7 years agoWinGui: Remove System.Windows.Forms, PresentationCore, PresentationFramework and...
sr55 [Sun, 29 Jan 2017 17:19:16 +0000 (17:19 +0000)]
WinGui: Remove System.Windows.Forms, PresentationCore, PresentationFramework and WindowsBase from the Services library. This makes the library more portable.

7 years agoqsv: Allocate planes contiguously.
maxd [Tue, 31 Jan 2017 09:35:37 +0000 (10:35 +0100)]
qsv: Allocate planes contiguously.

Better performance and less prone to crashing.

Fixes #540 and closes #558.

7 years agoLinGui: fix widget focus problem
John Stebbins [Sun, 29 Jan 2017 18:30:38 +0000 (11:30 -0700)]
LinGui: fix widget focus problem

7 years agopreset: fix behavior of AudioSecondaryEncoderMode
John Stebbins [Sun, 29 Jan 2017 17:21:02 +0000 (10:21 -0700)]
preset: fix behavior of AudioSecondaryEncoderMode

When true, this is meant to use the secondary encoder only for the first
selected audio track.  It was completely broken :(

7 years agoWinGui: Adding missing Tape and Sprite Denoise Tunes #544
sr55 [Wed, 25 Jan 2017 19:17:42 +0000 (19:17 +0000)]
WinGui: Adding missing Tape and Sprite Denoise Tunes #544

7 years agoencca_aac: Fix initial start time
John Stebbins [Wed, 25 Jan 2017 18:47:15 +0000 (11:47 -0700)]
encca_aac: Fix initial start time

encca_aac assumed the first packet start time is 0 which is no longer
the case.  We now use edit lists to adjust non-zero start times.

7 years agoMacGui: improve management of security scoped resources. Fix external SRT in the...
Damiano Galassi [Wed, 25 Jan 2017 10:03:00 +0000 (11:03 +0100)]
MacGui: improve management of security scoped resources. Fix external SRT in the sandboxed build.

7 years agoMacGui: select the right title when editing a queue job, libhb avoids rescanning...
Damiano Galassi [Wed, 25 Jan 2017 09:43:59 +0000 (10:43 +0100)]
MacGui: select the right title when editing a queue job, libhb avoids rescanning if the same file/folder is loaded.

7 years agoLinGui: clear extra options when video codec changes
John Stebbins [Tue, 24 Jan 2017 22:44:03 +0000 (15:44 -0700)]
LinGui: clear extra options when video codec changes

Some valid options (e.g. vp9 qmin=0) can crash some libav encoders (mpeg4).

7 years agoWinGui: Always use iso639 for srt language code rather than name. #541
sr55 [Tue, 24 Jan 2017 19:12:46 +0000 (19:12 +0000)]
WinGui: Always use iso639 for srt language code rather than name.  #541

7 years agodecavcodec: fix avcodec_open failure upon bad extradata
John Stebbins [Tue, 24 Jan 2017 18:01:48 +0000 (11:01 -0700)]
decavcodec: fix avcodec_open failure upon bad extradata

If extradata is improperly parsed, avcodec_open may fail.  Keep trying
avcodec_open as long as there is more data to parse.

Fixes https://github.com/HandBrake/HandBrake/issues/542

7 years agodecavcodec: fix crash in decavcodecvInfo
John Stebbins [Tue, 24 Jan 2017 17:59:58 +0000 (10:59 -0700)]
decavcodec: fix crash in decavcodecvInfo

If avcodec_open fails, pv->context->codec is NULL, but work->info may
still be called by scan.

7 years agoWinGui: Another fix to WhenDone. Should reset when the main window opens, not when...
sr55 [Mon, 23 Jan 2017 21:00:15 +0000 (21:00 +0000)]
WinGui: Another fix to WhenDone. Should reset when the main window opens, not when preferences opens.

7 years agoWinGui: Bump version to 1.0.3 for the future release.
sr55 [Sun, 22 Jan 2017 17:53:40 +0000 (17:53 +0000)]
WinGui: Bump version to 1.0.3 for the future release.

7 years agoRevise and extend NEWS.markdown for 1.0.2.
Bradley Sepos [Sun, 22 Jan 2017 16:46:32 +0000 (11:46 -0500)]
Revise and extend NEWS.markdown for 1.0.2.

7 years agoRevise and extend NEWS.markdown for 1.0.2.
Bradley Sepos [Sun, 22 Jan 2017 16:43:36 +0000 (11:43 -0500)]
Revise and extend NEWS.markdown for 1.0.2.

7 years agoWinGui: Fix an issue with QueueEdit not restoring PointToPoint settings correctly.
sr55 [Sun, 22 Jan 2017 16:12:52 +0000 (16:12 +0000)]
WinGui: Fix an issue with QueueEdit not restoring PointToPoint settings correctly.

7 years agoFixed a typo
Damiano Galassi [Sun, 22 Jan 2017 11:40:32 +0000 (12:40 +0100)]
Fixed a typo

7 years agoInitial draft of NEWS for 1.0.2
sr55 [Sat, 21 Jan 2017 22:51:40 +0000 (22:51 +0000)]
Initial draft of NEWS for 1.0.2

7 years agodvdread: Don't ignore errors from UDFReadBlocks
John Stebbins [Sat, 21 Jan 2017 21:39:24 +0000 (13:39 -0800)]
dvdread: Don't ignore errors from UDFReadBlocks

Fixes https://github.com/HandBrake/HandBrake/issues/535

7 years agoWinGui: Set a min height on the queue selection window.
sr55 [Sat, 21 Jan 2017 20:14:51 +0000 (20:14 +0000)]
WinGui: Set a min height on the queue selection window.

7 years agoMacGui: initial sandbox support. Added two new scheme RELEASE-SANDBOX and DEBUG-SANDB...
Damiano Galassi [Fri, 20 Jan 2017 17:52:22 +0000 (18:52 +0100)]
MacGui: initial sandbox support. Added two new scheme RELEASE-SANDBOX and DEBUG-SANDBOX to build HandBrake with sandbox enabled.

7 years agoMacGui: reload the queue outline view action column when an encode is done (the one...
Damiano Galassi [Thu, 19 Jan 2017 14:01:20 +0000 (15:01 +0100)]
MacGui: reload the queue outline view action column when an encode is done (the one with the x or the show in finder icon)

7 years agodisable fontconfig on macOS
Damiano Galassi [Wed, 18 Jan 2017 09:47:13 +0000 (10:47 +0100)]
disable fontconfig on macOS

7 years agolibhb: force title rescan after completing a job encode (#488)
John Stebbins [Mon, 16 Jan 2017 22:54:13 +0000 (14:54 -0800)]
libhb: force title rescan after completing a job encode (#488)

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

7 years agocli: Adding hb_opencl_set_enable when --use-opencl is set. #496
sr55 [Sun, 15 Jan 2017 20:16:51 +0000 (20:16 +0000)]
cli:  Adding hb_opencl_set_enable when --use-opencl is set. #496

7 years agoWinGui: Pause on Low Diskspace is for local drives only. Disabling check for UNC...
sr55 [Sun, 15 Jan 2017 18:22:48 +0000 (18:22 +0000)]
WinGui: Pause on Low Diskspace is for local drives only. Disabling check for UNC paths. #527

7 years agoWinGui: Remove extension check as it can cause an erroneous error when setting the...
sr55 [Sun, 15 Jan 2017 18:13:52 +0000 (18:13 +0000)]
WinGui: Remove extension check as it can cause an erroneous error when setting the filename manually.

7 years agoWinGui: Fix typo in #496
sr55 [Sun, 15 Jan 2017 14:47:47 +0000 (14:47 +0000)]
WinGui:  Fix typo in #496

7 years agoWinGui: Use new hb_opencl_set_enable function. #496
sr55 [Sun, 15 Jan 2017 14:31:40 +0000 (14:31 +0000)]
WinGui: Use new hb_opencl_set_enable function. #496

7 years agoopencl: Workaround broken drivers that crash when you call clGetPlatformIDs with...
Scott [Sun, 15 Jan 2017 14:25:55 +0000 (14:25 +0000)]
opencl: Workaround broken drivers that crash when you call clGetPlatformIDs with valid inputs. #496

7 years agoWinGui: SplitButton was broken. #524
sr55 [Sun, 15 Jan 2017 14:07:26 +0000 (14:07 +0000)]
WinGui: SplitButton was broken. #524

7 years agoWinGui: Fix erroneous path and filename handling. #515
sr55 [Sat, 14 Jan 2017 21:52:18 +0000 (21:52 +0000)]
WinGui: Fix erroneous path and filename handling.  #515

7 years agoWinGui: Fix a crash when saving presets for video encoders that don't have preset...
sr55 [Sat, 14 Jan 2017 19:16:46 +0000 (19:16 +0000)]
WinGui: Fix a crash when saving presets for video encoders that don't have preset or profile options. #516

7 years agoWinGui: Fix an issue which prevented the GUI from parsing presets with hb_presets_rea...
sr55 [Fri, 13 Jan 2017 21:44:08 +0000 (21:44 +0000)]
WinGui: Fix an issue which prevented the GUI from parsing presets with hb_presets_read_file_json becaused it returned an unnamed list when reading plist files. It can now handle  PresetList or just unnamed Json List []
Also made the parser more tolerant to casing and unset and unexpected values.

7 years agoWinGui: Put up a clearer error when we can't read older presets rather than just...
sr55 [Thu, 12 Jan 2017 21:21:33 +0000 (21:21 +0000)]
WinGui: Put up a clearer error when we can't read older presets rather than just showing a stack trace. #513

7 years agoMacGui: fix string encoding when converting chapters titles to NSString.
Damiano Galassi [Thu, 12 Jan 2017 18:56:14 +0000 (19:56 +0100)]
MacGui: fix string encoding when converting chapters titles to NSString.

7 years agoqsv: fix building with qsv disabled
John Stebbins [Wed, 11 Jan 2017 21:52:14 +0000 (14:52 -0700)]
qsv: fix building with qsv disabled

7 years agoWinGui: Update EndPoint for API Change.
sr55 [Wed, 11 Jan 2017 21:48:31 +0000 (21:48 +0000)]
WinGui: Update EndPoint for API Change.

7 years agojson: revise range "End" for time and frame ranges
John Stebbins [Wed, 11 Jan 2017 21:25:07 +0000 (14:25 -0700)]
json: revise range "End" for time and frame ranges

"End" was a duration.  It is now the actual "End" position in 90khz
ticks or frames.

7 years agoWinGui: Fix for the Queue Item Tooltip. Would erroneously display "2Pass" for CRF...
sr55 [Wed, 11 Jan 2017 20:41:08 +0000 (20:41 +0000)]
WinGui: Fix for the Queue Item Tooltip. Would erroneously display "2Pass" for CRF encodes.

7 years agojson: Decoding JSON now checks if QSV is available before setting QSV… (#509)
Scott [Wed, 11 Jan 2017 19:34:19 +0000 (19:34 +0000)]
json: Decoding JSON now checks if QSV is available before setting QSV… (#509)

json: Decoding JSON now checks if QSV is available before setting QSV… #509

7 years agolibav: fix EIO error when reaching EOF of DV files
John Stebbins [Wed, 11 Jan 2017 19:27:38 +0000 (12:27 -0700)]
libav: fix EIO error when reaching EOF of DV files

7 years agoreader: fix incorrect duration of UTF8 subtitles
John Stebbins [Wed, 11 Jan 2017 18:32:30 +0000 (11:32 -0700)]
reader: fix incorrect duration of UTF8 subtitles

The stop time for these was not getting adjusted by the scr_offset

7 years agopreset: fix "all" AudioTrackSelectionBehavior
John Stebbins [Wed, 11 Jan 2017 18:00:52 +0000 (11:00 -0700)]
preset: fix "all" AudioTrackSelectionBehavior

When all tracks are requested, do not filter out secondary audio types.
This should only be done when only the "first" track is requested.

7 years agoadded support of Kaby Lake CPU recognition
maxd [Wed, 11 Jan 2017 15:47:01 +0000 (16:47 +0100)]
added support of Kaby Lake CPU recognition

8 years agoWinGui: Fix a stack overflow exception in Options screen that was causing a settings...
sr55 [Mon, 9 Jan 2017 19:07:21 +0000 (19:07 +0000)]
WinGui: Fix a stack overflow exception in Options screen that was causing a settings reset.

8 years agolibhb: check if decvobsub.c private_data is not null before accessing one of its...
Damiano Galassi [Mon, 9 Jan 2017 08:18:03 +0000 (09:18 +0100)]
libhb: check if decvobsub.c private_data is not null before accessing one of its member. Fix a crash when calling decsubClose if the decoder had not been initialized yet.

8 years agoMacGui: sleep prevention in HBCore should be on by default.
Damiano Galassi [Mon, 9 Jan 2017 07:48:01 +0000 (08:48 +0100)]
MacGui: sleep prevention in HBCore should be on by default.

8 years agojson: fix use of freed memory
John Stebbins [Sun, 8 Jan 2017 19:30:55 +0000 (12:30 -0700)]
json: fix use of freed memory

audio.out.name was getting assigned a string from a json object that
could be freed resulting in a double free.

also make unpack_s check for const char * type to help prevent such
abuses in the future.

8 years agoWinGui: Allow the log window to be opened from the Scan Status Overlay.
sr55 [Sun, 8 Jan 2017 17:51:05 +0000 (17:51 +0000)]
WinGui: Allow the log window to be opened from the Scan Status Overlay.

8 years agoWinGui: Correctly synchronise the WhenDone dropdowns in the Queue, MainWindow and...
sr55 [Sun, 8 Jan 2017 10:43:47 +0000 (10:43 +0000)]
WinGui: Correctly synchronise the WhenDone dropdowns in the Queue, MainWindow and Preferences

8 years agoWinGui: Workaround a bug in libhb where if the audio track name == "", the engine...
sr55 [Sat, 7 Jan 2017 20:24:07 +0000 (20:24 +0000)]
WinGui: Workaround a bug in libhb where if the audio track name == "", the engine crashes when initially writing the mp4 file.