]> granicus.if.org Git - handbrake/log
handbrake
7 years agosync: fix small video dejitter error
John Stebbins [Fri, 3 Mar 2017 21:19:36 +0000 (14:19 -0700)]
sync: fix small video dejitter error

This very small error snowballs into a crash in x264 :-p

If the amount of jitter on the first frame in the queue was small
(about 1 tick) then jitter would not be removed from that frame.
This extra tick of jitter can appear on different frames depending
on when frame arrives and how much has been queued.  This very small
amount of randomness lead to problems in the VFR filter.  A frame
duration difference as small as 1 tick can lead to an extra frame
getting duplicated when doing CFR.  When doing 2 pass encoding, this
extra frame causes x264 to crash at the end of the 2nd pass.

7 years agoMacGui: forgot an else block in the previous commit
Damiano Galassi [Thu, 2 Mar 2017 17:10:18 +0000 (18:10 +0100)]
MacGui: forgot an else block in the previous commit

7 years agoMacGui: do not remove a job from the queue if the rescan to the main window fails.
Damiano Galassi [Thu, 2 Mar 2017 17:06:21 +0000 (18:06 +0100)]
MacGui: do not remove a job from the queue if the rescan to the main window fails.

7 years agolibav: simplify patch for corrupt raw video
John Stebbins [Wed, 1 Mar 2017 15:00:15 +0000 (08:00 -0700)]
libav: simplify patch for corrupt raw video

7 years agowork: set orig_vrate correctly
John Stebbins [Tue, 28 Feb 2017 21:59:06 +0000 (14:59 -0700)]
work: set orig_vrate correctly

It was getting set to the title's rate instead of the rate that the
filter chain sets.

An incorrect vrate causes x265 rate control breakage.

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

7 years agobatch: Support --min-duration when doing batch scans
John Stebbins [Mon, 27 Feb 2017 20:05:12 +0000 (13:05 -0700)]
batch: Support --min-duration when doing batch scans

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

7 years agolibav: gracefully handle a broken AVI index
John Stebbins [Mon, 27 Feb 2017 19:01:35 +0000 (12:01 -0700)]
libav: gracefully handle a broken AVI index

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

7 years agolibav: fix rawvideo in mkv corruption
John Stebbins [Sun, 26 Feb 2017 23:39:59 +0000 (16:39 -0700)]
libav: fix rawvideo in mkv corruption

fixes https://github.com/HandBrake/HandBrake/issues/128

7 years agovfr: fix invalid read/write
John Stebbins [Sun, 26 Feb 2017 19:42:01 +0000 (12:42 -0700)]
vfr: fix invalid read/write

Probably the cause of crash seen in nightly builds

fixes https://github.com/HandBrake/HandBrake/issues/597

7 years agoRevise NEWS.markdown for 1.0.3.
Bradley Sepos [Sat, 25 Feb 2017 20:56:07 +0000 (15:56 -0500)]
Revise NEWS.markdown for 1.0.3.

7 years agoUpdate NEWS
sr55 [Sat, 25 Feb 2017 18:33:35 +0000 (18:33 +0000)]
Update NEWS

7 years agoencca_aac: fix a small leak
Damiano Galassi [Fri, 24 Feb 2017 18:15:54 +0000 (19:15 +0100)]
encca_aac: fix a small leak

7 years agoencca_aac: use the libhb list helper functions to append buffers
Damiano Galassi [Fri, 24 Feb 2017 18:15:12 +0000 (19:15 +0100)]
encca_aac: use the libhb list helper functions to append buffers

7 years agoencca_aac: no need to pad manually the remaining data
Damiano Galassi [Fri, 24 Feb 2017 18:14:04 +0000 (19:14 +0100)]
encca_aac: no need to pad manually the remaining data

7 years agoencca_aac: flush all the remaining packets from encoders
Damiano Galassi [Fri, 24 Feb 2017 18:13:41 +0000 (19:13 +0100)]
encca_aac: flush all the remaining packets from encoders

7 years agoaudio_resample: fix mapping of mono to single channel (#593)
John Stebbins [Fri, 24 Feb 2017 17:28:33 +0000 (10:28 -0700)]
audio_resample: fix mapping of mono to single channel (#593)

* audio_resample: fix mapping of mono to single channel

libav's mixer code can't map single channel layouts to other single
channel layouts. And we were asking it to map e.g. front left to front
center because out MONO mixdown == libav front center.  So when we
request MONO and the source is any single channel, change our output
layout to match the input.

fixes
https://forum.handbrake.fr/viewtopic.php?f=12&t=36016&sid=c5993fa7375792a940152c8adda19a54

* Incorporate Rodeo's suggestions

* fix grammar

7 years agoMacGui: fix a typo.
Damiano Galassi [Fri, 24 Feb 2017 08:26:22 +0000 (09:26 +0100)]
MacGui: fix a typo.

7 years agoMacGui: set a sort descriptor by default in the titles selection table.
Damiano Galassi [Fri, 24 Feb 2017 08:26:08 +0000 (09:26 +0100)]
MacGui: set a sort descriptor by default in the titles selection table.

7 years agolibav: fix latm aac decoder hang
John Stebbins [Fri, 24 Feb 2017 00:39:06 +0000 (17:39 -0700)]
libav: fix latm aac decoder hang

Don't return EAGAIN from decoders.

When waiting for codec parameters, the decoder returned EAGAIN which was
meant to be interpreted as "send more data". But the new libav decoder
API changed the definition of EAGAIN to mean "send the same packet
again".  So hang.

7 years agolibav: fix reading wmv larger than 2G
John Stebbins [Fri, 24 Feb 2017 00:09:23 +0000 (17:09 -0700)]
libav: fix reading wmv larger than 2G

fixes https://github.com/HandBrake/HandBrake/issues/587

7 years agolibav: fix crash when encoding aac at high bitrate
John Stebbins [Thu, 23 Feb 2017 22:49:25 +0000 (15:49 -0700)]
libav: fix crash when encoding aac at high bitrate

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

7 years agoencx265: fix compiler warning
John Stebbins [Wed, 22 Feb 2017 22:17:34 +0000 (15:17 -0700)]
encx265: fix compiler warning

7 years agoencx265: fix 2 pass encoding when framerate is wrong
John Stebbins [Wed, 22 Feb 2017 20:33:16 +0000 (13:33 -0700)]
encx265: fix 2 pass encoding when framerate is wrong

x265 expects the framerate specified to be the same for both passes. So
we must set the same value even when we compute that the actual
framerate differs from what the file's header says.

7 years agoMacGui: preserve the output file name if auto naming is not enabled and the source...
Damiano Galassi [Wed, 22 Feb 2017 14:05:21 +0000 (15:05 +0100)]
MacGui: preserve the output file name if auto naming is not enabled and the source is not a stream. Revert to the 0.10.x behaviour.

7 years agolibav: fix mkv seek crash
John Stebbins [Tue, 21 Feb 2017 22:38:53 +0000 (15:38 -0700)]
libav: fix mkv seek crash

Remove hopelessly broken code that attempted to rewind the seek point to
a position in the file where subtitles in every subtitle track after
the seek time are after the computed position.

7 years agodvd: add widescreen/letterbox/pan&scan/4:3 to vobsub description
John Stebbins [Thu, 13 Oct 2016 18:50:05 +0000 (11:50 -0700)]
dvd: add widescreen/letterbox/pan&scan/4:3 to vobsub description

7 years agodvd: add widescreen vobsubs when letterbox is permitted
John Stebbins [Thu, 13 Oct 2016 18:18:22 +0000 (11:18 -0700)]
dvd: add widescreen vobsubs when letterbox is permitted

We were only adding subtitle tracks specifically designed for letterbox
when letterbox is permitted.  We should also add the subtitle tracks
that are specifically designed for wide screen.

7 years agovfr: add cfr frame drop debugging logs
John Stebbins [Thu, 22 Sep 2016 18:57:56 +0000 (11:57 -0700)]
vfr: add cfr frame drop debugging logs

These logs can be enabled by uncommenting HB_DEBUG_CFR_DROPS at the top
of the file.

If you have any sources that use progressive frame upsampling that you
would like to test with this new frame drop algo, enable these debug
logs to get full details of what frames are dropped and passed.

They show which frames are dropped and the metrics that the decision to
drop is based on.  They also show which frames are passed and the
cadence of passed vs. dropped frames.

7 years agovfr: simplify and improve CFR frame dropping algo
John Stebbins [Wed, 21 Sep 2016 22:36:07 +0000 (15:36 -0700)]
vfr: simplify and improve CFR frame dropping algo

The new algo caches extra frames so it can select a "best" frame to drop
from a list. A metric for each buffer is calculated as it is added to
the list. The metric indicates how much the frame differes from the
previous frame. The one with the lowest metric is selected for dropping
when a drop is required.

The old algo tried to latch on to a pattern without keeping any extra
frames. When "in sync" it would drop the buffer that fit the pattern.
But this only worked for a few specific patterns I had tested with and
did not work for all possible patterns (e.g. issue 50 where 1 in 5
needed to be dropped to convert 29.97 to 23.976).

fixes https://github.com/HandBrake/HandBrake/issues/50

7 years agodecavcodec: drop initial_padding audio samples
John Stebbins [Tue, 21 Feb 2017 17:51:33 +0000 (10:51 -0700)]
decavcodec: drop initial_padding audio samples

These are samples that were not in the original source and were added by
the encoder.  To get a faithful reproduction of the source, they must be
dropped.

7 years agolibav: extract initial_padding from mp4 edit list
John Stebbins [Tue, 21 Feb 2017 17:50:58 +0000 (10:50 -0700)]
libav: extract initial_padding from mp4 edit list

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.