]> granicus.if.org Git - handbrake/log
handbrake
7 years agoLinGui: Update translations
John Stebbins [Sun, 12 Mar 2017 17:17:16 +0000 (11:17 -0600)]
LinGui: Update translations

New translations come from transifex HandBrake 1.0.0 project.
https://ataaw.transifex.com/victorr2007/handbrake-100/

7 years agoopencl: fixing more resource leaks
maxd [Fri, 10 Mar 2017 10:03:57 +0000 (11:03 +0100)]
opencl: fixing more resource leaks

(cherry picked from commit 69231c990576f34c14054a6f81b09b5a445d1b47)

7 years agoLinGui: fix video preset slider updates
John Stebbins [Thu, 9 Mar 2017 19:39:47 +0000 (12:39 -0700)]
LinGui: fix video preset slider updates

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

(cherry picked from commit 6c8979904ca729d086b7ccebd6b4f5cabd31149d)

7 years agoopencl: Fix resource leak.
maxd [Wed, 8 Mar 2017 19:08:32 +0000 (20:08 +0100)]
opencl: Fix resource leak.

Closes #617 and closes #618.

(cherry picked from commit 27c5b91e916e51c0d44dc0fd111feca43a4ea481)

7 years agolibav: a more robust fix for aac encoder crash
John Stebbins [Wed, 8 Mar 2017 16:31:14 +0000 (09:31 -0700)]
libav: a more robust fix for aac encoder crash

(cherry picked from commit acf986e8df2e8084f50d684a0aa98329f8c77cab)

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 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.

(cherry picked from commit 31d0389758bd506a6c349d85c0d3191880d0dea4)

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

(cherry picked from commit a7d96f24f2c8df6b1092d4376c436e6d63514bdb)

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

(cherry picked from commit 872aee88cd477d082a36124e83205689999d2527)

7 years agoWinGui: Bump version number to 1.0.4
sr55 [Mon, 27 Feb 2017 19:25:06 +0000 (19:25 +0000)]
WinGui: Bump version number to 1.0.4

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

(cherry picked from commit 40b86f9ad509db29be0babb335e96f62b0b1c230)

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

(cherry picked from commit b2f8318069349d161d8c0f1afcb753f5513a3794)

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

(cherry picked from commit e634da436b20fe05dba4fdfd8389cf11f40bdc8d)

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

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

(cherry picked from commit b7882e031c91817da3d69df9968656904c4f9640)

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.

(cherry picked from commit d1333595bc9ffb3b2445bc7cf530ff6c86eceb38)

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

(cherry picked from commit bc86d4239a196237c920dbd824b44f4122a935a7)

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

(cherry picked from commit 6aebad79439a64738db685bd9c7c442493e49233)

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.

(cherry picked from commit ac73d24c799292fd6493ef1ce83816fa35c24a6d)

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.

(cherry picked from commit 380059d4d8cf245e3667a5c92159f7b294d682ac)

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

(cherry picked from commit 514fc4f4ac4312d25680c1fd6c4eab25c5b2551a)

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

(cherry picked from commit 1ec4c4a4930f49d9d2ae9ca7d76b24cfe267c136)

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"

(cherry picked from commit 429b5d5941bd8f60bc9fa6d74cc23d526c3ef1fa)

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.

(cherry picked from commit 6fec4838373fd50520a2499ff143c50e5d323f9f)

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: 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 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

(cherry picked from commit 7196e488673c9bfa8f6a626121379885665bd886)

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

(cherry picked from commit 396249d1e7231b961fc3fe53b2f25743a832f3b6)

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

(cherry picked from commit 05f743e784fe69e2950d32e8ac177c34a2f3e5c8)

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)

(cherry picked from commit 88343d5a0ee9969071bb8a263dab0e0a66c4c8ff)

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

(cherry picked from commit 62439a3e43484ed0ae9e7ecd01b7b19760cdfd2f)

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

(cherry picked from commit 6674825664c4847c74ccc99ef35a0c85f2df9eb8)

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

(cherry picked from commit 9dfe1373a9d1cb37843f3ffbe88fd63b630026c6)

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 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.

(cherry picked from commit 6aa1b40aead1653b39c93195aed4e920b6b0fcc9)

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

(cherry picked from commit 56aca27e29c3e20dd67c8539dc5be9e4d1fc50b3)

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 :(

(cherry picked from commit d03ffb0aa349145ebea8bf314f94f55f3f1ba370)

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.

(cherry picked from commit 33e6780967a14c876d0f329ea1c637e6b0f75a92)

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.

(cherry picked from commit 79c33c0ca996311224bbd3719c85238a3358cb5e)

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).

(cherry picked from commit 4334419b4adbc78648608ad4076de8005f4c4f27)

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

(cherry picked from commit ca1dcccd09b5dfac93829d46fd6c7c9711898b77)

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.

(cherry picked from commit 4425691a0fd57b30360d39df3bdeebb9cc9b577f)

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. 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.

(cherry picked from commit 2880072077b1341627ae19c606b8ab1ad71313f6)

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 agoMacGui: lower the minimum disk space to ~2GB for now.
Damiano Galassi [Sun, 22 Jan 2017 11:59:47 +0000 (12:59 +0100)]
MacGui: lower the minimum disk space to ~2GB for now.

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)

(cherry picked from commit 40ec4ebaa2958b2549125dd525b6fcb2bd595d69)

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

(cherry picked from commit d95c6c272d277f4d507c82d5a909f42566cfbb66)

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
(cherry picked from commit 922db9bec26e1def4c8ba60afb2147cc06ec524d)

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 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.

(cherry picked from commit cd858bced3ec13da9ff25d935b8c5166ad9a60b7)

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

(cherry picked from commit 3f1b45f43c9921810d6a1ef2e3117b6a52632f64)

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.

(cherry picked from commit 5ed4dc7ff3dfd1a19b27863e30900505e292b529)

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 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

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

(cherry picked from commit fbea656ef0a79757e77ecfa313bc009e21b28993)

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

(cherry picked from commit 8e639848ad996bbcf12963aa6fbe7cf379530b43)

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.

(cherry picked from commit 0a876569e88943def836b16ecf4c76923e1500f2)

7 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.

(cherry picked from commit 008b1f47941e6479e5db106653232fb886196238)

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 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.

(cherry picked from commit bcf44aad7103116507eedaa66ca8103c97b2d32b)

8 years agoMacGui: prevent sleep at queue start, and reallow it at the end of the queue..
Damiano Galassi [Thu, 5 Jan 2017 09:14:58 +0000 (10:14 +0100)]
MacGui: prevent sleep at queue start, and reallow it at the end of the queue..

(cherry picked from commit 62f25f927c61969deb6a063448b9fb2c2295391a)

8 years agoMacGui: add an option to disable HBCore automatic sleep prevention behaviour.
Damiano Galassi [Thu, 5 Jan 2017 09:12:30 +0000 (10:12 +0100)]
MacGui: add an option to disable HBCore automatic sleep prevention behaviour.

(cherry picked from commit 2bf8ccc610d4df61660cd3efafd6b81fa5936c43)

8 years agoMacGui: make possible to configure on which queue HBCore will call the callback blocks.
Damiano Galassi [Fri, 30 Dec 2016 17:48:08 +0000 (18:48 +0100)]
MacGui: make possible to configure on which queue HBCore will call the callback blocks.

(cherry picked from commit f742b1590945a70f7a1998a3016671533094e81d)

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.

(cherry picked from commit b062c3b199cc6bb2cc33d6a28dacb6dc48c9c370)

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.

8 years agoWinGui: Make sure to set libdvdnav setting before encoding. This fixes an issue where...
sr55 [Sat, 7 Jan 2017 19:58:01 +0000 (19:58 +0000)]
WinGui: Make sure to set libdvdnav setting before encoding. This fixes an issue where reloading the queue would result in this setting being ignored.

8 years agoWinGui: Adding Queue Start/Pause Context Menu options to the In-line queue and queue...
sr55 [Sat, 7 Jan 2017 18:50:57 +0000 (18:50 +0000)]
WinGui: Adding Queue Start/Pause Context Menu options to the In-line queue and queue window.   #489

8 years agoqsv: Fix a crash that can occur in hb_qsv_info_print() when QSV hardware exists in...
sr55 [Fri, 6 Jan 2017 20:43:05 +0000 (20:43 +0000)]
qsv: Fix a crash that can occur in hb_qsv_info_print() when QSV hardware exists in the system but is disabled in the bios.

8 years agodecsrtsub: fix extra blank lines
John Stebbins [Wed, 4 Jan 2017 18:47:17 +0000 (11:47 -0700)]
decsrtsub: fix extra blank lines

This only happened with embedded UTF8 subtitles in mkv.

(cherry picked from commit 17ab380b65a4843e260300924fe95f7eff98e6ff)

8 years agolibhb: better bound checking in ParseControls.
Damiano Galassi [Mon, 2 Jan 2017 16:57:27 +0000 (17:57 +0100)]
libhb: better bound checking in ParseControls.

(cherry picked from commit e0ae572c77f015b041c88d73f8a26b6d7abccdfb)

8 years agoqsv: fix for memory leak for decode
maxd [Mon, 2 Jan 2017 21:45:40 +0000 (22:45 +0100)]
qsv: fix for memory leak for decode

Closes #490.

(cherry picked from commit 7afd2d7c5cd3078a99701d73eb6445c3a1d70808)

8 years agoWinGui: Improve the SourceMax / Custom Picture Settings modes. Fixes a numer of edge...
sr55 [Mon, 2 Jan 2017 13:59:32 +0000 (13:59 +0000)]
WinGui: Improve the SourceMax / Custom Picture Settings modes. Fixes a numer of edge causes and problems with this code  #455

8 years agoMacGui: always use the last selected source parent directory for the open panel.
Damiano Galassi [Mon, 2 Jan 2017 13:38:51 +0000 (14:38 +0100)]
MacGui: always use the last selected source parent directory for the open panel.

(cherry picked from commit d6d633ac7b386b9c0ca70efa0ba93fcd45221d08)

8 years agoMacGui: use the bundle name as the title name for .eyetv bundles.
Damiano Galassi [Mon, 2 Jan 2017 13:37:23 +0000 (14:37 +0100)]
MacGui: use the bundle name as the title name for .eyetv bundles.

(cherry picked from commit 2e1ee72df99040481cc555c4452b08956e0037eb)

8 years agoWinGui: Set version to 1.0.2
sr55 [Sun, 1 Jan 2017 22:21:13 +0000 (22:21 +0000)]
WinGui: Set version to 1.0.2

8 years agoMacGui: [HBUtilities writeToActivityLog:] wants a c string, not a NSString.
Damiano Galassi [Sun, 1 Jan 2017 14:44:35 +0000 (15:44 +0100)]
MacGui: [HBUtilities writeToActivityLog:] wants a c string, not a NSString.

(cherry picked from commit ed846fdfd18802bcd9f515fe34ed08f81e3d1ab3)

8 years agoMacGui: write the job preset name to the activity log.
Damiano Galassi [Sun, 1 Jan 2017 10:55:09 +0000 (11:55 +0100)]
MacGui: write the job preset name to the activity log.

(cherry picked from commit 6e6507c64c72294c6478c7fa06ca1f7dad0d17d7)

8 years agoUpdate copyright dates to 2017.
Bradley Sepos [Sun, 1 Jan 2017 00:00:00 +0000 (00:00 +0000)]
Update copyright dates to 2017.

(cherry picked from commit 3f1f6175ce804dd46ce4d3913611477731389a9f)

8 years agoWinGui: Store the Extra Args when switching video encoders. This prevents invalid...
sr55 [Sat, 31 Dec 2016 13:04:46 +0000 (13:04 +0000)]
WinGui: Store the Extra Args when switching video encoders. This prevents invalid arguments getting passed to the encoder and as a bonus, remembers the users setting if they switch back