]> granicus.if.org Git - handbrake/log
handbrake
12 years agogfx: New Application Icon (Photoshop PSD and various sizes of png files) by Matt...
sr55 [Sat, 18 Aug 2012 19:21:40 +0000 (19:21 +0000)]
gfx: New Application Icon (Photoshop PSD and various sizes of png files) by Matt Johnson

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

12 years agoWinGui: Fixes to the Advanced Panel (8x8t and ref) and Picture Panel (Further Max...
sr55 [Wed, 15 Aug 2012 18:08:28 +0000 (18:08 +0000)]
WinGui: Fixes to the Advanced Panel (8x8t and ref) and Picture Panel (Further Max W/H fixes)

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

12 years agoDon't send empty audio packets downstream, as empty buffers are assumed to mark the...
Rodeo [Wed, 15 Aug 2012 15:43:33 +0000 (15:43 +0000)]
Don't send empty audio packets downstream, as empty buffers are assumed to mark the end of stream.

Such packets can result from samplerate or other types of audio conversion.

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

12 years agodeclpcm: modify hdr2layout.
Rodeo [Wed, 15 Aug 2012 15:25:06 +0000 (15:25 +0000)]
declpcm: modify hdr2layout.

AV_CH_LAYOUT_STEREO w/7 or 8 channels is invalid anyway, and will get sanitized in hb_ff_layout_xlat(). Doing it in declpcm directly avoids an unnecessary call to that function, with identical results.

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

12 years agoCheck the return code of hb_audio_resample_update(). This allows us to log an error...
Rodeo [Wed, 15 Aug 2012 15:15:35 +0000 (15:15 +0000)]
Check the return code of hb_audio_resample_update(). This allows us to log an error when it fails, so we know which decoder actually called the function.

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

12 years agoLet's hope this is the last of my stupid deca52 hb_audio_resample support mistakes.
Rodeo [Wed, 15 Aug 2012 14:22:15 +0000 (14:22 +0000)]
Let's hope this is the last of my stupid deca52 hb_audio_resample support mistakes.

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

12 years agoWinGui: Picture settings MaxWidth/Height fixes
sr55 [Mon, 13 Aug 2012 17:50:39 +0000 (17:50 +0000)]
WinGui: Picture settings MaxWidth/Height fixes

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

12 years agoInterop: Some refactoring, exposing list of video encoders, fixed const value, added...
randomengy [Sun, 12 Aug 2012 22:41:36 +0000 (22:41 +0000)]
Interop: Some refactoring, exposing list of video encoders, fixed const value, added some error checking.

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

12 years agoWinGui: Highlight the default preset in italics.
sr55 [Sun, 12 Aug 2012 10:35:46 +0000 (10:35 +0000)]
WinGui: Highlight the default preset in italics.

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

12 years agoImprove last commit. While the AC3 decoder doesn't use hb_ff_layout_xlat(), the code...
Rodeo [Sat, 11 Aug 2012 18:30:28 +0000 (18:30 +0000)]
Improve last commit. While the AC3 decoder doesn't use hb_ff_layout_xlat(), the code I added to it really belongs in hb_audio_resample.

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

12 years agoFix a bug where we were attempting to downmix Dolby Surround (AV_CH_LAYOUT_STEREO_DOW...
Rodeo [Sat, 11 Aug 2012 09:24:54 +0000 (09:24 +0000)]
Fix a bug where we were attempting to downmix Dolby Surround (AV_CH_LAYOUT_STEREO_DOWNMIX) to AV_CH_LAYOUT_STEREO via libavresample (which is not implemented).

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

12 years agohb_audio_resample: when avresample_open() fails, log the error description.
Rodeo [Fri, 10 Aug 2012 18:48:42 +0000 (18:48 +0000)]
hb_audio_resample: when avresample_open() fails, log the error description.

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

12 years agoRestore the old hack that disables DTS-ES extension processing. We support 6.1 now...
Rodeo [Fri, 10 Aug 2012 17:01:46 +0000 (17:01 +0000)]
Restore the old hack that disables DTS-ES extension processing. We support 6.1 now, but libavcodec's assembly optimizations are buggy under Win64, causing audio distortion when canceling the matrixed Cs channel out of Ls and Rs.

This can be removed when the bugs are fixed.

Note: unlike before, we still present the stream as 6.0/6.1 to users; it simplfies the code and doesn't make much difference since we always downmix to at least 5.1 anyway.

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

12 years agoWinGui: --subtitle-burn -> should be burned
sr55 [Wed, 8 Aug 2012 20:23:52 +0000 (20:23 +0000)]
WinGui: --subtitle-burn -> should be burned

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

12 years agoUpdate the NEWS file
sr55 [Sun, 5 Aug 2012 16:32:48 +0000 (16:32 +0000)]
Update the NEWS file

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

12 years agoAdd the readable copy of the MinGW doc file
sr55 [Sun, 5 Aug 2012 16:32:35 +0000 (16:32 +0000)]
Add the readable copy of the MinGW doc file

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

12 years agoMinGW doc updates
sr55 [Sun, 5 Aug 2012 16:31:30 +0000 (16:31 +0000)]
MinGW doc updates

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

12 years agoRemove Cygwin from the docs folder and add mingw
sr55 [Sun, 5 Aug 2012 16:23:19 +0000 (16:23 +0000)]
Remove Cygwin from the docs folder and add mingw

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

12 years agoWinGui: Add Audio Track Name option back in. For now, I've used a toggle button on...
sr55 [Sun, 5 Aug 2012 15:02:10 +0000 (15:02 +0000)]
WinGui: Add Audio Track Name option back in. For now, I've used a toggle button on the audio track to expand the row to show hidden audio options.

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

12 years agoWinGui: Improvements in the options screen layout
sr55 [Sat, 4 Aug 2012 19:36:28 +0000 (19:36 +0000)]
WinGui: Improvements in the options screen layout

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

12 years agoWinGui: Added a right click menu for the Audio, Subtitles and Chapters tabs with...
sr55 [Sat, 4 Aug 2012 18:44:50 +0000 (18:44 +0000)]
WinGui: Added a right click menu for the Audio, Subtitles and Chapters tabs with some common actions.

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

12 years agoEncode log: indicate if audio->config.out.normalize_mix_level is enabled.
Rodeo [Thu, 2 Aug 2012 23:25:38 +0000 (23:25 +0000)]
Encode log: indicate if audio->config.out.normalize_mix_level is enabled.

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

12 years agobuild system: enforce an order to applying contrib patches
jstebbins [Thu, 2 Aug 2012 22:17:38 +0000 (22:17 +0000)]
build system: enforce an order to applying contrib patches
New patch for a52dec has a dependency on another patch and must be
applied after it.  Patches appeared to be getting applied in whatever
order the filesystem presented the files in.

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

12 years agoUse hb_audio_resample for downmixing AC3 sources. DRC is still applied by liba52.
Rodeo [Thu, 2 Aug 2012 21:43:22 +0000 (21:43 +0000)]
Use hb_audio_resample for downmixing AC3 sources. DRC is still applied by liba52.

Add support for center & surround mix levels to hb_audio_resample.

This allows us to support upmixing all audio sources. For sources that have at least 2 front and one back or side channel(s), allow upmixing to 5.1:

3.0/3.1 (2 front and 1 back channels)
4.0/4.1 (3 front and 1 back channels)
4.0/4.1 (2 front and 2 side channels)
5.0     (3 front and 2 side channels)

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

12 years agolibhb: Allow control of audio mix normalization
jstebbins [Wed, 1 Aug 2012 23:05:00 +0000 (23:05 +0000)]
libhb: Allow control of audio mix normalization
Since switching to libavresample for audio mixing, our output
volume levels have been reduced because libavresample
does mix level normalization by default.  This change
applies a patch to libav to allow us to disable this behavior
and adds a new field to hb_audio_config_t to allow the
hb frontends to control this feature.

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

12 years agoBump Libav to v0.8-2551-gc83f44d.
Rodeo [Mon, 30 Jul 2012 21:46:19 +0000 (21:46 +0000)]
Bump Libav to v0.8-2551-gc83f44d.

Fixes an issue in assembly code that could result in very poor performance when encoding with x264 & AC3 Passthru.

Thanks to our John Stebbins for finding the cause of the bug, and to x264 & Libav developers for fixing it.

Miscellaneous other fixes and improvements, including multichannel Apple Lossless audio decoding support.

Also, clean up our Libav configure options (group things together, disable all hardware accelerations with one switch instead of individually, and disable building the unused avfilter library).

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

12 years agowork: simplify & optimize.
Rodeo [Sun, 29 Jul 2012 15:11:40 +0000 (15:11 +0000)]
work: simplify & optimize.

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

12 years agowork: indentation and miscellaneous cosmetics.
Rodeo [Sun, 29 Jul 2012 14:49:53 +0000 (14:49 +0000)]
work: indentation and miscellaneous cosmetics.

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

12 years agowork: don't sanitize output bitrate etc. for passthrough audio.
Rodeo [Sun, 29 Jul 2012 14:27:59 +0000 (14:27 +0000)]
work: don't sanitize output bitrate etc. for passthrough audio.

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

12 years agoUse HB_INVALID_AMIXDOWN and HB_AMIXDOWN_NONE where applicable.
Rodeo [Sun, 29 Jul 2012 14:16:28 +0000 (14:16 +0000)]
Use HB_INVALID_AMIXDOWN and HB_AMIXDOWN_NONE where applicable.

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

12 years agoIntroduce a negative HB_INVALID_AMIXDOWN.
Rodeo [Fri, 27 Jul 2012 23:37:16 +0000 (23:37 +0000)]
Introduce a negative HB_INVALID_AMIXDOWN.

Having the audio->config.out.mixdown start at 0 caused it to be treated as usigned (under OS X at least), causing the sanitizing code in work.c to fail:

line 820, (audio->config.out.mixdown <= 0) would evaluate as false, and so the best mixdown was being set instead of the default one.

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

12 years agoWinGui: Couple more Picture Settings Tab bug fixes. Note: Still a few more issues...
sr55 [Wed, 25 Jul 2012 11:39:29 +0000 (11:39 +0000)]
WinGui: Couple more Picture Settings Tab bug fixes. Note: Still a few more issues to work out here.

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

12 years agoWinGui: Don't set -X or -Y for the CLI Query. The UI handles Max Width / Height.
sr55 [Wed, 25 Jul 2012 11:25:07 +0000 (11:25 +0000)]
WinGui: Don't set -X or -Y for the CLI Query. The UI handles Max Width / Height.

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

12 years agomuxmkv: reset the output track configuration before adding each audio track, rather...
Rodeo [Tue, 24 Jul 2012 22:04:51 +0000 (22:04 +0000)]
muxmkv: reset the output track configuration before adding each audio track, rather than just once before adding all audio tracks.

Among other things, avoids having the HE-AAC outputSamplingFreq contaminate all following non-HE or non-AAC tracks.

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

12 years agoWinGui: Couple UI tweaks and better text rendering throughout the app since no-one...
sr55 [Mon, 23 Jul 2012 18:28:21 +0000 (18:28 +0000)]
WinGui: Couple UI tweaks and better text rendering throughout the app since no-one complained yet.

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

12 years agoWinGui: Fix up the Audio Passthru selection options.
sr55 [Mon, 23 Jul 2012 16:57:39 +0000 (16:57 +0000)]
WinGui: Fix up the Audio Passthru selection options.

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

12 years agoWinGui: Fix a possible crash after scanning a source.
sr55 [Mon, 23 Jul 2012 14:22:23 +0000 (14:22 +0000)]
WinGui: Fix a possible crash after scanning a source.

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

12 years agoOnly log the input bitrate if it's valid; some decoders (e.g. TrueHD) set it to a...
Rodeo [Mon, 23 Jul 2012 03:23:22 +0000 (03:23 +0000)]
Only log the input bitrate if it's valid; some decoders (e.g. TrueHD) set it to a dummy value of 1, resulting in:

[05:15:24]  * audio track 1
[05:15:24]    + decoder: English (truehd) (5.1 ch) (track 1, id 0x1)
[05:15:24]      + bitrate: 0 kbps, samplerate: 48000 Hz

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

12 years agolibhb: fix logging of container aspect in dvd.c and dvdnav.c
jstebbins [Sun, 22 Jul 2012 08:21:01 +0000 (08:21 +0000)]
libhb: fix logging of container aspect in dvd.c and dvdnav.c

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

12 years agoWinGui: Move some stuff around in the services library and refactor out some legacy...
sr55 [Fri, 20 Jul 2012 17:06:08 +0000 (17:06 +0000)]
WinGui: Move some stuff around in the services library and refactor out some legacy code.

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

12 years agoWinGui: Array of fixes and changes
sr55 [Fri, 20 Jul 2012 13:24:52 +0000 (13:24 +0000)]
WinGui: Array of fixes and changes
- Change Font rendering to "Display" mode to see if folks prefer it. If not it can be reverted back.
- Fixes to Queue Edit for the Audio/Subs panel. These should now populate correctly.
- Thrown the Drive detector onto a background thread as it seems the windows drive management service can get "stuck" and block the app from starting while it waits.

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

12 years agoEnable threaded decoding for ProRes video sources.
Rodeo [Wed, 18 Jul 2012 23:43:19 +0000 (23:43 +0000)]
Enable threaded decoding for ProRes video sources.

The bug which was worked around by disabling threading has now been fixed in Libav, and I didn't find any issue when testing additional ProRes sources.

Reference: https://forum.handbrake.fr/viewtopic.php?f=12&t=22599

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

12 years agolibhb: fix deinterlace fast green stripe
jstebbins [Wed, 18 Jul 2012 18:45:05 +0000 (18:45 +0000)]
libhb: fix deinterlace fast green stripe

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

12 years agoMore fine grained progress statistics during subtitle scan
jstebbins [Wed, 18 Jul 2012 12:27:46 +0000 (12:27 +0000)]
More fine grained progress statistics during subtitle scan
Make reader compute subtitle scan progress based on timestamps seen and
duration instead of chapter marks.

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

12 years agoLinGui: Fix preset import of new framerates
jstebbins [Tue, 17 Jul 2012 18:02:33 +0000 (18:02 +0000)]
LinGui: Fix preset import of new framerates

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

12 years agoLinGui: remove obsolete ubuntu lucid rule
jstebbins [Mon, 16 Jul 2012 21:02:45 +0000 (21:02 +0000)]
LinGui: remove obsolete ubuntu lucid rule
Lucid was removed a while ago, but I missed the rule that pushes the
now non-existent source package to the PPA build server.

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

12 years agodisable harfbuzz on libass
sr55 [Mon, 16 Jul 2012 18:07:15 +0000 (18:07 +0000)]
disable harfbuzz on libass

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

12 years agoWinGui: Pushing version numbers forward for the main branch.
sr55 [Mon, 16 Jul 2012 07:52:20 +0000 (07:52 +0000)]
WinGui: Pushing version numbers forward for the main branch.

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

12 years agohb_audio_remap: remove unneeded channel map.
Rodeo [Sun, 15 Jul 2012 19:53:09 +0000 (19:53 +0000)]
hb_audio_remap: remove unneeded channel map.

I forgot part of it in the previous commit.

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

12 years agohb_audio_remap: remove unneeded channel map.
Rodeo [Sun, 15 Jul 2012 19:51:38 +0000 (19:51 +0000)]
hb_audio_remap: remove unneeded channel map.

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

12 years agoUse libav for dts audio decoding instead of libdca
jstebbins [Sun, 15 Jul 2012 19:47:01 +0000 (19:47 +0000)]
Use libav for dts audio decoding instead of libdca
libdca has no advantage over libav for dts audio decoding.  It doesn't do
drc and it's downmix capabilities are actually inferior to libav.  So this
completely removes libdca from libhb

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

12 years agoChange a few more hb_log() calls to hb_error(), and some cosmetics.
Rodeo [Sun, 15 Jul 2012 17:37:27 +0000 (17:37 +0000)]
Change a few more hb_log() calls to hb_error(), and some cosmetics.

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

12 years agoFix something John and I both missed.
Rodeo [Sun, 15 Jul 2012 16:44:37 +0000 (16:44 +0000)]
Fix something John and I both missed.

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

12 years agohb_audio_resample: libvaresample wrapper.
Rodeo [Sun, 15 Jul 2012 16:40:46 +0000 (16:40 +0000)]
hb_audio_resample: libvaresample wrapper.

Avoids having code that's mostly identical in multiple files.

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

12 years agodecpgssub: simplify code (merge several if/else blocks).
Rodeo [Sun, 15 Jul 2012 16:31:03 +0000 (16:31 +0000)]
decpgssub: simplify code (merge several if/else blocks).

Also, discard empty subtitles until we've seen the first non-empty sub, as they are not needed. This can happen when encoding from the middle of a source, for example.

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

12 years agoWinGui: Working drive tray insert/remove detection.
sr55 [Sat, 14 Jul 2012 12:09:06 +0000 (12:09 +0000)]
WinGui: Working drive tray insert/remove detection.

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

12 years agoWinGui: Improve the code behind the taskbar source menu. Note, The Disc insert detect...
sr55 [Fri, 13 Jul 2012 21:28:03 +0000 (21:28 +0000)]
WinGui: Improve the code behind the taskbar source menu. Note, The Disc insert detection still isn't in place, so it will only show the initial available drives, it won't detect disc changes yet.

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

12 years agohb_audio_remap improvements.
Rodeo [Thu, 12 Jul 2012 20:13:23 +0000 (20:13 +0000)]
hb_audio_remap improvements.

This moves some logic outside of the decoders/encoders and into a single place.

Encoders that do their own remapping (faac, vorbis) can still generate a remap table with hb_audio_remap_build_table(), without having to use hb_audio_remap().

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

12 years agoCleanup after last commit: delete empty files, rename some patches.
Rodeo [Wed, 11 Jul 2012 21:41:19 +0000 (21:41 +0000)]
Cleanup after last commit: delete empty files, rename some patches.

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

12 years agobump libav to libav-v0.8-2197-g1a068bf
jstebbins [Wed, 11 Jul 2012 20:10:20 +0000 (20:10 +0000)]
bump libav to libav-v0.8-2197-g1a068bf
Resolves several deprecated api's
Eliminates several libav patches
Eliminates our builtin downmix in favour of avresample
Eliminate HB_INPUT_CH_LAYOUT_* and replace with AV_CH_LAYOUT_*
Resolves 6.x and 7.0 input channel layout issues HB had
Adds downmix support to declpcm.  We never had it!

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

12 years agoWinGui: Fix an issue where selecting the dvd drive in the source menu would not allow...
sr55 [Wed, 11 Jul 2012 17:41:27 +0000 (17:41 +0000)]
WinGui: Fix an issue where selecting the dvd drive in the source menu would not allow the source to be encoded after scanning.

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

12 years agolibhb: fix hb_read_preview() when invalid index is passed
jstebbins [Wed, 11 Jul 2012 12:30:41 +0000 (12:30 +0000)]
libhb: fix hb_read_preview() when invalid index is passed
Was returning last preview instead of NULL

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

12 years agolibhb: fix problem reading preview
jstebbins [Tue, 10 Jul 2012 12:37:37 +0000 (12:37 +0000)]
libhb: fix problem reading preview
The title "index" is not an index into list_title.  It is a unique number
assigned to each title in the list.  So we must scan the list for a matching
"index".

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

12 years agoWinGui: Initial work to restore queue editing functionality. (Note, it's not complete...
sr55 [Sun, 8 Jul 2012 15:57:58 +0000 (15:57 +0000)]
WinGui: Initial work to restore queue editing functionality. (Note, it's not complete yet)

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

12 years agoWinGui: Add support for keyboard shortcuts. These are slightly different to the old...
sr55 [Sun, 8 Jul 2012 11:25:45 +0000 (11:25 +0000)]
WinGui: Add support for keyboard shortcuts. These are slightly different to the old UI. See Below.

// Start Encode (Ctrl+S)
// Stop Encode (Ctrl+K)
// Open Log Window (Ctrl+L)
// Open Queue Window (Ctrl+Q)
// Add to Queue (Ctrl+A)
// Scan a File (Ctrl+F)
// Scan a Folder (Ctrl+R)

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

12 years agoWinGui: Additional fixes for multi-instance.
sr55 [Sat, 7 Jul 2012 15:49:55 +0000 (15:49 +0000)]
WinGui: Additional fixes for multi-instance.

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

12 years agoWinGui: Fixes to allow for multi-instance to work again.
sr55 [Sat, 7 Jul 2012 15:16:22 +0000 (15:16 +0000)]
WinGui: Fixes to allow for multi-instance to work again.

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

12 years agoForgotten part of portability patches
jstebbins [Sat, 7 Jul 2012 00:11:57 +0000 (00:11 +0000)]
Forgotten part of portability patches
This should have been committed with 4717
Thanks to Rogério Theodoro de Brito and Pino Toscano for contributing

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

12 years agolibhb: fix comb detection crash and decomb crash
jstebbins [Fri, 6 Jul 2012 23:12:56 +0000 (23:12 +0000)]
libhb: fix comb detection crash and decomb crash
hb_detect_comb() could crash because the dimensions of the video buffer
don't have to match the dimensions returned by work object info() method
if the video has segments of differeing resolutions.

decomb was allocating reference buffers that were too small.  This bug appears
to have always existed but doesn't usually get triggered because malloc
usually rounds allocation sizes up.

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

12 years agoWinGui: Fix for Chapter markers starting at the wrong point.
sr55 [Fri, 6 Jul 2012 20:05:42 +0000 (20:05 +0000)]
WinGui: Fix for Chapter markers starting at the wrong point.

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

12 years agolibhb: fix live preview crash when generating preview while encoding
jstebbins [Tue, 3 Jul 2012 18:52:27 +0000 (18:52 +0000)]
libhb: fix live preview crash when generating preview while encoding
GetFifoForId() was not re-entrant (it used a static array).

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

12 years agolibhb: fix unused variable warning
jstebbins [Mon, 2 Jul 2012 17:59:31 +0000 (17:59 +0000)]
libhb: fix unused variable warning

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

12 years agoLinGui: sync with iPad preset changes
jstebbins [Mon, 2 Jul 2012 17:58:58 +0000 (17:58 +0000)]
LinGui: sync with iPad preset changes

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

12 years agoFix comparison (check if unsigned type is < 0). Not sure why I keep doing this.
Rodeo [Mon, 2 Jul 2012 11:29:48 +0000 (11:29 +0000)]
Fix comparison (check if unsigned type is < 0). Not sure why I keep doing this.

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

12 years agolibhb: fix crop detection
jstebbins [Sat, 30 Jun 2012 20:47:34 +0000 (20:47 +0000)]
libhb: fix crop detection
It wasn't accounting for stride that is greater than width

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

12 years agoWinGui: Fix Add Preset not honouring custom source width / height.
sr55 [Sat, 30 Jun 2012 18:03:33 +0000 (18:03 +0000)]
WinGui: Fix Add Preset not honouring custom source width / height.

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

12 years agoWinGui: Fix an issue where the Autoname would keep the existing file extension. ...
sr55 [Sat, 30 Jun 2012 17:49:29 +0000 (17:49 +0000)]
WinGui: Fix an issue where the Autoname would keep the existing file extension. (leading to .mkv.m4v for example)

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

12 years agoWinGui: Assorted fixes.
sr55 [Sat, 30 Jun 2012 17:37:25 +0000 (17:37 +0000)]
WinGui: Assorted fixes.
- Implementation of CanBeBurned and CanBeForced on the subtitles panel.
- Save updates to user presets from the Presets Options Menu. (Can use Add Preset to overwrite preset configuration instead also)

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

12 years agoWinGui: Refactor the Update service and add a new options tab to deal with updates.
sr55 [Sat, 30 Jun 2012 14:07:50 +0000 (14:07 +0000)]
WinGui: Refactor the Update service and add a new options tab to deal with updates.

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

12 years agoWinGui: Update the behaviour of the Burned / Default check boxes to make them mutuall...
sr55 [Sat, 30 Jun 2012 11:44:44 +0000 (11:44 +0000)]
WinGui: Update the behaviour of the Burned / Default check boxes to make them mutually exclusive.

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

12 years agoUpdate CLI Presets
sr55 [Fri, 29 Jun 2012 20:35:52 +0000 (20:35 +0000)]
Update CLI Presets

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

12 years agoForgot to update ipad preset description
sr55 [Fri, 29 Jun 2012 17:19:52 +0000 (17:19 +0000)]
Forgot to update ipad preset description

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

12 years agoUpdating the iPad preset to 720P to be a good balance for both iPad 2 and 3
sr55 [Fri, 29 Jun 2012 17:13:37 +0000 (17:13 +0000)]
Updating the iPad preset to 720P to be a good balance for both iPad 2 and 3

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

12 years agoencca_aac.c: oesc.mDataByteSize is signed.
Rodeo [Fri, 29 Jun 2012 12:29:16 +0000 (12:29 +0000)]
encca_aac.c: oesc.mDataByteSize is signed.

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

12 years agomuxmkv: improve reliability of HE-AAC check when doing AAC Passthru.
Rodeo [Fri, 29 Jun 2012 12:22:55 +0000 (12:22 +0000)]
muxmkv: improve reliability of HE-AAC check when doing AAC Passthru.

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

12 years agoLinGui: merge preset changes
jstebbins [Thu, 28 Jun 2012 15:14:25 +0000 (15:14 +0000)]
LinGui: merge preset changes

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

12 years agoMacGui: AppleTV 3 preset fix decomb
dynaflash [Thu, 28 Jun 2012 14:41:20 +0000 (14:41 +0000)]
MacGui: AppleTV 3 preset fix decomb
- Actually select Decomb (fast) which fixes initial implementation using Decomb Custom.
- Thanks for catching it Rodeo.

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

12 years agoMacGui: Add AppleTV 3 Preset
dynaflash [Wed, 27 Jun 2012 21:06:34 +0000 (21:06 +0000)]
MacGui: Add AppleTV 3 Preset
- Basically High Profile preset with rc-lookahead removed ( so now default)
- 1920 x nnn (1080p) resolution max
- Fast decomb due to the fact that "decomb 3" is currently deemed too much of a speed hit. Upon a speed up recommend a change.
- - Note this is the first device preset to use decomb … fast decomb is better imo than no decomb.

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

12 years agoFix hb_mixdown_get_discrete_channel_count for HB_AMIXDOWN_NONE (passthrough).
Rodeo [Wed, 27 Jun 2012 13:30:26 +0000 (13:30 +0000)]
Fix hb_mixdown_get_discrete_channel_count for HB_AMIXDOWN_NONE (passthrough).

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

12 years agoWinGui: More UI tweaks and improvements.
sr55 [Tue, 26 Jun 2012 20:58:31 +0000 (20:58 +0000)]
WinGui: More UI tweaks and improvements.

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

12 years agoWinGui: Another set of assorted fixes and UI tweaks.
sr55 [Tue, 26 Jun 2012 20:46:19 +0000 (20:46 +0000)]
WinGui: Another set of assorted fixes and UI tweaks.

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

12 years agoencca_aac: tabs to spaces and miscellaneous cosmetics.
Rodeo [Tue, 26 Jun 2012 18:58:00 +0000 (18:58 +0000)]
encca_aac: tabs to spaces and miscellaneous cosmetics.

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

12 years agoencca_aac: chnage a variable type (should have been done in revision 3754).
Rodeo [Mon, 25 Jun 2012 21:06:58 +0000 (21:06 +0000)]
encca_aac: chnage a variable type (should have been done in revision 3754).

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

12 years agoencca_aac: fix an issue where a valid output buffer would be dropped, causing minor...
Rodeo [Mon, 25 Jun 2012 21:02:27 +0000 (21:02 +0000)]
encca_aac: fix an issue where a valid output buffer would be dropped, causing minor A/V desync and a missing audio output frame.

This could happen when encoding to HE-AAC, or encoding to AAC with a very low bitrate.

Also, minor cleanup (i.e. cosmetics).

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

12 years agolibhb: fix deinterlace fast problem with sources that have <mod8 alignment
jstebbins [Mon, 25 Jun 2012 07:56:49 +0000 (07:56 +0000)]
libhb: fix deinterlace fast problem with sources that have <mod8 alignment
avpicture_deinterlace requires that both width and height of the input
be 8 pixel aligned.  Video buffers already have padding to align horizontally
to 16 pixels, but they were not padded vertically.  This adds vertical
padding.

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

12 years agoWinGui: Additional fixes to the picture settings panel.
sr55 [Sun, 24 Jun 2012 13:36:41 +0000 (13:36 +0000)]
WinGui: Additional fixes to the picture settings panel.

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

12 years agoWinGui: Assorted Fixes
sr55 [Sun, 24 Jun 2012 12:30:28 +0000 (12:30 +0000)]
WinGui: Assorted Fixes

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

12 years agofix stride in denoise filter
jstebbins [Sat, 23 Jun 2012 09:59:26 +0000 (09:59 +0000)]
fix stride in denoise filter
I should have made the malloc larger rather than changing the stride

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

12 years agolast "fix" was flawed. try again :(
jstebbins [Fri, 22 Jun 2012 23:30:02 +0000 (23:30 +0000)]
last "fix" was flawed.  try again :(

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

12 years agoWinGui: Missing file from last checkin
sr55 [Fri, 22 Jun 2012 23:14:28 +0000 (23:14 +0000)]
WinGui: Missing file from last checkin

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