]> granicus.if.org Git - handbrake/log
handbrake
13 years agoa52dec: silence pointless deca52 message (no accelerated IMDCT)
jstebbins [Sun, 24 Jul 2011 16:16:49 +0000 (16:16 +0000)]
a52dec: silence pointless deca52 message (no accelerated IMDCT)
Thanks to Rodeo for patch

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

13 years agoCore Audio encoders: use hb_layout_remap instead of Apple's remapping functions
jstebbins [Sun, 24 Jul 2011 16:08:21 +0000 (16:08 +0000)]
Core Audio encoders: use hb_layout_remap instead of Apple's remapping functions

Apple's AudioConverterSetProperty function fails to set the
kAudioConverterChannelMap under OS X 10.7 Lion. In order to
avoid having to special-case and having to track whether or
not the bug gets fixed, this patch just uses our hb_remap_layout
function to do the remapping instead.

Thanks to Rodeo for the patch

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

13 years agolibhb: encavcodecaudio improvements
jstebbins [Sun, 24 Jul 2011 16:05:29 +0000 (16:05 +0000)]
libhb: encavcodecaudio improvements
Compute the output layout once in encavcodecaInit and store it in a member
of the hb_encavcodeca work object.

Fix the channel mapping of ffaac in our code rather than applying a patch
to Libav.  The Libav AAC encoder is bound to see a certain amount of
commit activity since it needs to be improved. A patch affecting the AAC
encoder is bound to break regularly

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

13 years agoWinGui: Tooltip fix by Vendolis
sr55 [Sun, 24 Jul 2011 10:37:23 +0000 (10:37 +0000)]
WinGui: Tooltip fix by Vendolis

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

13 years agoUpdate CLI and LinGUI presets, patch by Rodeo
sr55 [Sun, 24 Jul 2011 10:21:58 +0000 (10:21 +0000)]
Update CLI and LinGUI presets, patch by Rodeo

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

13 years agoWinGui: Tweak the new audio panel options pane to give it a cleaner appearance and...
sr55 [Sat, 23 Jul 2011 19:51:49 +0000 (19:51 +0000)]
WinGui: Tweak the new audio panel options pane to give it a cleaner appearance and simplify the code a bit.

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

13 years agoWinGui: Auto Selection of Audio and Subtitles - Patch by vendolis (Thanks!)
sr55 [Sat, 23 Jul 2011 19:13:05 +0000 (19:13 +0000)]
WinGui: Auto Selection of Audio and Subtitles - Patch by vendolis (Thanks!)
Adds finer grained control of the Automatic Audio and Subtitle selection feature.
Adds the ability to select multiple languages.
https://reviews.handbrake.fr/r/158/

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

13 years agoRemvoe 2 Legacy presets and add 2 new Android presets for mid and high end devices
sr55 [Fri, 22 Jul 2011 20:19:44 +0000 (20:19 +0000)]
Remvoe 2 Legacy presets and add 2 new Android presets for mid and high end devices

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

13 years agoWinGui: Repair the x64 build.
sr55 [Thu, 21 Jul 2011 17:55:56 +0000 (17:55 +0000)]
WinGui: Repair the x64 build.

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

13 years agoMacGUI: use "AC3 (ffmpeg)" to designate the ffac3 encoder (for consistency).
dynaflash [Tue, 19 Jul 2011 17:49:19 +0000 (17:49 +0000)]
MacGUI: use "AC3 (ffmpeg)" to designate the ffac3 encoder (for consistency).
- Patch by Rodeo
- This patch switches the codec name from "AC3" to "AC3 (ffmpeg)" for consistency.
-  Backwards-compatibility with old presets is handled by mapping "AC3" to "AC3 (ffmpeg)" when loading a preset.
- Referenced here https://reviews.handbrake.fr/r/155/

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

13 years agolibhb: fix access outside allocated memory region
jstebbins [Tue, 19 Jul 2011 17:39:15 +0000 (17:39 +0000)]
libhb: fix access outside allocated memory region
In some cases we could access memory outside the memory buffer we
allocate for TS packets. This didn't cause any known crashes, but
it could possibly lead to a crash.

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

13 years agolibhb: plug a few memory leaks
jstebbins [Tue, 19 Jul 2011 17:36:12 +0000 (17:36 +0000)]
libhb: plug a few memory leaks
Noticed when debugging a memory corruption issue with valgrind

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

13 years agoMacGUI: Consolidate passthrough mixdowns.
dynaflash [Tue, 19 Jul 2011 15:28:24 +0000 (15:28 +0000)]
MacGUI: Consolidate passthrough mixdowns.
- There's no need for one passthrough mixdown per passthrough codec.
- When using passthru, mixdown is set to "None".
- Patch by Rodeo ... Thanks!
- Fix a bug where we would sometimes attempt to modify a non-mutable NSDictionary, causing a crash.
- Fix by blindjimmy ... Thanks!

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

13 years agoWinGui: Fix "Set Default" preset option.
sr55 [Mon, 18 Jul 2011 20:21:02 +0000 (20:21 +0000)]
WinGui: Fix "Set Default" preset option.

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

13 years agoAdd the cpu architecture to the Windows CLI zip packages.
sr55 [Sun, 17 Jul 2011 15:01:20 +0000 (15:01 +0000)]
Add the cpu architecture to the Windows CLI zip packages.

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

13 years agoWinGui: Add support for x64 to the build script.
sr55 [Sun, 17 Jul 2011 14:52:41 +0000 (14:52 +0000)]
WinGui: Add support for x64 to the build script.

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

13 years agoWinGui: Setup a simple msbuild configuration and simplified the project build targets.
sr55 [Sun, 17 Jul 2011 14:17:53 +0000 (14:17 +0000)]
WinGui: Setup a simple msbuild configuration and simplified the project build targets.

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

13 years agoWinGui: Another build fix.
sr55 [Sat, 16 Jul 2011 17:44:44 +0000 (17:44 +0000)]
WinGui: Another build fix.

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

13 years agoWinGui: Another attempt at sorting the build.
sr55 [Sat, 16 Jul 2011 17:36:17 +0000 (17:36 +0000)]
WinGui: Another attempt at sorting the build.

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

13 years agoAnother set of build fixes
sr55 [Sat, 16 Jul 2011 17:20:38 +0000 (17:20 +0000)]
Another set of build fixes

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

13 years agocli: add --audio-copy-mask and --audio-fallback options
jstebbins [Sat, 16 Jul 2011 17:16:22 +0000 (17:16 +0000)]
cli: add --audio-copy-mask and --audio-fallback options
--audio-copy-mask sets which audio codecs are permitted to be passed thru
when the "copy" encoder option is specified.

--audio-fallback sets which encoder to use when it is not possible to
pass thru an input audio track

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

13 years agoWinGui: Build fixes.
sr55 [Sat, 16 Jul 2011 16:45:36 +0000 (16:45 +0000)]
WinGui: Build fixes.

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

13 years agoWinGui: Some fixes to the Queue Current encoding information display and removal...
sr55 [Sat, 16 Jul 2011 16:05:36 +0000 (16:05 +0000)]
WinGui: Some fixes to the Queue Current encoding information display and removal of another duplicate model.

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

13 years agoWinGui: Another duplicate model removed.
sr55 [Sat, 16 Jul 2011 15:45:38 +0000 (15:45 +0000)]
WinGui: Another duplicate model removed.

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

13 years agoWinGui: Starting to remove model objects from the Application Services module that...
sr55 [Sat, 16 Jul 2011 15:20:49 +0000 (15:20 +0000)]
WinGui: Starting to remove model objects from the Application Services module that are duplicated in the Interop Library

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

13 years agolingui: add backwards compatible "AC3" translation for audio encoder value
jstebbins [Sat, 16 Jul 2011 15:10:32 +0000 (15:10 +0000)]
lingui: add backwards compatible "AC3" translation for audio encoder value

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

13 years agoWinGui: Switch from using the Interop binary lib, to the source version which is...
sr55 [Sat, 16 Jul 2011 15:09:30 +0000 (15:09 +0000)]
WinGui: Switch from using the Interop binary lib, to the source version which is now part of the project.

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

13 years agolingui: add some preset translations that I missed
jstebbins [Sat, 16 Jul 2011 02:13:37 +0000 (02:13 +0000)]
lingui: add some preset translations that I missed

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

13 years agoWinGui: Missed one.
sr55 [Thu, 14 Jul 2011 17:40:35 +0000 (17:40 +0000)]
WinGui: Missed one.

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

13 years agoWinGui: Fix issues with Analyse x264 option.
sr55 [Thu, 14 Jul 2011 17:39:24 +0000 (17:39 +0000)]
WinGui: Fix issues with Analyse x264 option.

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

13 years agocontrib: enable debuggin when debug=max and disable optimizations when optimizations...
jstebbins [Mon, 11 Jul 2011 18:19:51 +0000 (18:19 +0000)]
contrib: enable debuggin when debug=max and disable optimizations when optimizations=none
except for ffmpeg on darwin i386 which fails to build when optimizations
are disabled due to gcc running out of registers.

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

13 years agolibhb: fix a couple small memory leaks
jstebbins [Mon, 11 Jul 2011 17:03:14 +0000 (17:03 +0000)]
libhb: fix a couple small memory leaks

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

13 years agocontrib: enable a52dec debugging when debug=max
jstebbins [Mon, 11 Jul 2011 16:01:22 +0000 (16:01 +0000)]
contrib: enable a52dec debugging when debug=max

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

13 years agocontrib: dvdread and dvdnav, allow disabling optimizations with debug disabled
jstebbins [Mon, 11 Jul 2011 15:45:12 +0000 (15:45 +0000)]
contrib: dvdread and dvdnav, allow disabling optimizations with debug disabled

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

13 years agobuild: fix configure to define GCC.O before including main.defs
jstebbins [Mon, 11 Jul 2011 15:36:16 +0000 (15:36 +0000)]
build: fix configure to define GCC.O before including main.defs
This is needed so that contrib makefiles can see it's value.

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

13 years agocontrib: enable ffmpeg debug when debug=max is set
jstebbins [Mon, 11 Jul 2011 15:09:21 +0000 (15:09 +0000)]
contrib: enable ffmpeg debug when debug=max is set
and disable ffmpeg optimizations if optimize=none is set

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

13 years agocontrib: enable dvdread and dvdnav debugging when debug=max is configured
jstebbins [Mon, 11 Jul 2011 15:01:15 +0000 (15:01 +0000)]
contrib: enable dvdread and dvdnav debugging when debug=max is configured

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

13 years agolibhb: improve dvdnav main feature detection
jstebbins [Sun, 10 Jul 2011 21:45:25 +0000 (21:45 +0000)]
libhb: improve dvdnav main feature detection
Add detection of fake menus.  Some menus have very short duration and/or
are hidden from the user by making the hightlight transparent. These
menus can lead to invalid titles if traversed, so ignore them.

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

13 years agolibhb: improve dvdnav main feature detection
jstebbins [Sat, 9 Jul 2011 21:37:09 +0000 (21:37 +0000)]
libhb: improve dvdnav main feature detection
Improve detection of fake titles that are transitioned through on the
way to the real title when a menu button is pressed.

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

13 years agoSome Duplicate text removed.
sr55 [Sat, 9 Jul 2011 20:45:20 +0000 (20:45 +0000)]
Some Duplicate text removed.

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

13 years agoAdded a note to the Github Readme about submitting patches
sr55 [Sat, 9 Jul 2011 20:43:53 +0000 (20:43 +0000)]
Added a note to the Github Readme about submitting patches

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

13 years agoWinGui: Added file headers to the interop library, and corrected a number of incorrec...
sr55 [Sat, 9 Jul 2011 20:05:45 +0000 (20:05 +0000)]
WinGui: Added file headers to the interop library, and corrected a number of incorrect namespaces.

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

13 years agoback off part of the last dvdread fix
jstebbins [Fri, 8 Jul 2011 23:10:16 +0000 (23:10 +0000)]
back off part of the last dvdread fix
It isn't necessary, and was incorrect.  I was trying to
anticipate a future problem with references outside the allocated region
for the PTT, but did it wrong.  It's probably best to just wait for a disc
that exhibits this potential problem to surface before attempting a fix.

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

13 years agoFix crash when scanning True Grit
jstebbins [Fri, 8 Jul 2011 22:22:35 +0000 (22:22 +0000)]
Fix crash when scanning True Grit

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

13 years agoWinGui: Fix a null pointer exception after scan.
sr55 [Fri, 8 Jul 2011 06:57:17 +0000 (06:57 +0000)]
WinGui: Fix a null pointer exception after scan.

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

13 years agolibhb: fix a couple small memory leaks
jstebbins [Thu, 7 Jul 2011 23:15:48 +0000 (23:15 +0000)]
libhb: fix a couple small memory leaks

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

13 years agoWinGui: Updated Nsis scripts.
sr55 [Thu, 7 Jul 2011 19:15:03 +0000 (19:15 +0000)]
WinGui: Updated Nsis scripts.

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

13 years agolibhb: fix a stack corruption crash when scanning some BDs
jstebbins [Thu, 7 Jul 2011 17:25:38 +0000 (17:25 +0000)]
libhb: fix a stack corruption crash when scanning some BDs
was overrunning the end of a stack based array when there were more
than 32 clips in a BD title.

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

13 years agolibhb: when doing main feature search, skip prohibited buttons.
jstebbins [Wed, 6 Jul 2011 20:41:47 +0000 (20:41 +0000)]
libhb: when doing main feature search, skip prohibited buttons.
There is a field in the prohibited user operations PCI flags that
says when the user can push buttons.  If they are prohibited, we
shouldn't push them when searching for the main feature since they
would not be accessible on a dvd player.

This fixes selection of "fake" titles on some discs.

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

13 years agolibhb: add some logging to main feature search
jstebbins [Wed, 6 Jul 2011 16:21:57 +0000 (16:21 +0000)]
libhb: add some logging to main feature search
This lets us see in the logs if it finds a root menu title, a title menu title,
or falls back to using the longest title.  Log level 2 must be enabled to
see these.

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

13 years agoWinGui: Replace the old-school Windows 9x folder dialog with a 3rd party (ookii)...
sr55 [Sun, 3 Jul 2011 18:18:56 +0000 (18:18 +0000)]
WinGui: Replace the old-school Windows 9x folder dialog with a 3rd party (ookii) control which uses the new Vista / 7 style folder dialog which is significantly easier to use.

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

13 years agoWinGui: Fix an issue that allowed Mp4 only options to be selected with MKV. (Large...
sr55 [Sat, 2 Jul 2011 15:08:05 +0000 (15:08 +0000)]
WinGui: Fix an issue that allowed Mp4 only options to be selected with MKV. (Large file etc)

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

13 years agofix some warnings in the cli
jstebbins [Fri, 1 Jul 2011 12:38:14 +0000 (12:38 +0000)]
fix some warnings in the cli
and add printf attribute to hb_strdup_printf

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

13 years agoLinGui: change page increment of preview frame slider
jstebbins [Mon, 27 Jun 2011 11:47:02 +0000 (11:47 +0000)]
LinGui: change page increment of preview frame slider
make page the same as step.  it's not realy useful to "page" this slider.

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

13 years agoLinGui: fix initial enabled state of audio options after scan
jstebbins [Mon, 27 Jun 2011 08:54:22 +0000 (08:54 +0000)]
LinGui: fix initial enabled state of audio options after scan
audios that are disabled were not getting grayed out in the audio options
list till the track or encoder selection changed.

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

13 years agoLinGui: fix a problem with enabling dts and dts-hd passthru in audio options
jstebbins [Mon, 27 Jun 2011 07:13:13 +0000 (07:13 +0000)]
LinGui: fix a problem with enabling dts and dts-hd passthru in audio options
audio_config.in.codec in these cases is HB_ACODEC_DTS* | HB_ACODEC_FF_I_FLAG.
I was not masking off the FF_I_FLAG when checking the input codec.

Note, that this problem goes away in the RB patch that cleans up ffmpeg
hacks,  the FF_I_FLAG being one such hack.

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

13 years agolibhb: fix progress information for batch scans
jstebbins [Thu, 23 Jun 2011 09:48:38 +0000 (09:48 +0000)]
libhb: fix progress information for batch scans
Use hb_batch_title_count() since hb_list_count() changes as unreadable
titles are removed from the list.  Title count needs to be the total
number of files being scanned.

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

13 years agoWinGui: Add DTS-HD Passthru support and a bit of code tidy-up.
sr55 [Wed, 22 Jun 2011 17:31:53 +0000 (17:31 +0000)]
WinGui: Add DTS-HD Passthru support and a bit of code tidy-up.

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

13 years agoLinGui: fix appindicator warning message in log at startup
jstebbins [Wed, 22 Jun 2011 16:17:54 +0000 (16:17 +0000)]
LinGui: fix appindicator warning message in log at startup
A signal that causes an indicator update happens before the indicator
has been created, triggering a warning.  so check that the indicator
exists first.

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

13 years agoLinGui: fix scaling problem with preview window
jstebbins [Wed, 22 Jun 2011 14:51:32 +0000 (14:51 +0000)]
LinGui: fix scaling problem with preview window
... when the screen is smaller than the preview.  If the width fit but the
height didn't, it computed incorrect size and displayed with wrong aspect.

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

13 years agoLinGui: when appindicator is found, disable gtkstatusicon
jstebbins [Tue, 21 Jun 2011 15:32:37 +0000 (15:32 +0000)]
LinGui: when appindicator is found, disable gtkstatusicon
libappindicator has a fallback mode that creates a gtkstatusicon
automatically if the indicator service can not be contacted.  so I
should only enable one or the other, not both.

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

13 years agoLinGui: fix a couple compiler warnings
jstebbins [Tue, 21 Jun 2011 12:04:02 +0000 (12:04 +0000)]
LinGui: fix a couple compiler warnings
missed some necessary casts when adding AppIndicator support

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

13 years agolibhb: fix incorrect error message when adding substreams to ts list
jstebbins [Tue, 21 Jun 2011 10:35:55 +0000 (10:35 +0000)]
libhb: fix incorrect error message when adding substreams to ts list
The error message was meant to catch the case were a source has
more than 2 substreams in a stream.  But due to incorrect order of
conditionals, it triggered when both substreams have been seen and
we try to add one of them again (which is allowed and should do nothing).

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

13 years agolibhb: flush frame re-ordering delay queue properly when there are < 8 frames
jstebbins [Tue, 21 Jun 2011 09:41:20 +0000 (09:41 +0000)]
libhb: flush frame re-ordering delay queue properly when there are < 8 frames
If the queue never completely filled, it would not be flushed.

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

13 years agoWinGui: Some more work on the libencode service.
sr55 [Mon, 20 Jun 2011 20:41:57 +0000 (20:41 +0000)]
WinGui: Some more work on the libencode service.

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

13 years agoWinGui: Update the About Window GPL statement & Fix an issue on the subtitles tab...
sr55 [Mon, 20 Jun 2011 20:16:12 +0000 (20:16 +0000)]
WinGui: Update the About Window GPL statement & Fix an issue on the subtitles tab where it would refuse to allow an SRT to be imported when doing a queue edit.

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

13 years agoLinGui: Add status tray icon support for Ubuntu 11.04
jstebbins [Mon, 20 Jun 2011 15:58:36 +0000 (15:58 +0000)]
LinGui: Add status tray icon support for Ubuntu 11.04
Ubuntu disables GtkStatusIcon support in Unity and instead uses a new
API called AppIndicator.  So this adds support for appindicator when
it is detected by configure.

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

13 years agoRemove the qt4 directory. Nothing useful has come from this code and too much time...
sr55 [Mon, 20 Jun 2011 14:48:07 +0000 (14:48 +0000)]
Remove the qt4 directory. Nothing useful has come from this code and too much time has passed with no-one  dedicating the time it requires to be useful.

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

13 years agoUpdated Credits file with a bunch of missing libraries. Removed all the names as...
sr55 [Mon, 20 Jun 2011 14:46:14 +0000 (14:46 +0000)]
Updated Credits file with a bunch of missing libraries. Removed all the names as it's a bit tedious keeping these updated.

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

13 years agoSome tidy up of the Standard files. THANKS and TRANSLATIONS
sr55 [Mon, 20 Jun 2011 14:40:52 +0000 (14:40 +0000)]
Some tidy up of the Standard files. THANKS and TRANSLATIONS

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

13 years agoUpdate the GPL v2 License file to the latest copy from gnu.org. This is just an addre...
sr55 [Mon, 20 Jun 2011 14:29:53 +0000 (14:29 +0000)]
Update the GPL v2 License file to the latest copy from gnu.org. This is just an address change and some small formatting changes.

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

13 years agoWinGui: Fix Broken Preview Window.
sr55 [Sat, 18 Jun 2011 19:23:26 +0000 (19:23 +0000)]
WinGui: Fix Broken Preview Window.

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

13 years agoWinGui:
sr55 [Wed, 15 Jun 2011 17:45:06 +0000 (17:45 +0000)]
WinGui:
- Correctly set the number of previews to generate during Scan
- Fix an issue where the CLI query is not printed to the log window.

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

13 years agolibhb: fix a warning in decssasub.c by adding new hb_valog function
jstebbins [Wed, 15 Jun 2011 16:38:13 +0000 (16:38 +0000)]
libhb: fix a warning in decssasub.c by adding new hb_valog function
And consolidate logging code in hb_valog.  hb_log and hb_deep_log
call hb_valog.

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

13 years agolibhb: eliminate use of deprecated sws_getContext
jstebbins [Wed, 15 Jun 2011 15:35:54 +0000 (15:35 +0000)]
libhb: eliminate use of deprecated sws_getContext

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

13 years agoMacGui: Don't call "return" at the end of a void function.. .. Redux!
dynaflash [Tue, 14 Jun 2011 20:54:10 +0000 (20:54 +0000)]
MacGui: Don't call "return" at the end of a void function.. .. Redux!
- As Per https://reviews.handbrake.fr/r/122/
- Thanks blindjimmy for the patche(s).
- Borked commit notes courtesy of me.

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

13 years agoMacGui: Add blank line to previous commit files to fix the commit notes I totally...
dynaflash [Tue, 14 Jun 2011 20:48:15 +0000 (20:48 +0000)]
MacGui: Add blank line to previous commit files to fix the commit notes I totally borked.
- Proper change is: Simplify conditionals to make them more readable. As per https://reviews.handbrake.fr/r/123/
- Reverts commit notes for https://trac.handbrake.fr/changeset/4056 besides the update to xcode 3.2.6

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

13 years agoMacGui: Don't call "return" at the end of a void function.
dynaflash [Tue, 14 Jun 2011 20:37:17 +0000 (20:37 +0000)]
MacGui: Don't call "return" at the end of a void function.
- Generally speaking, the fewer (simple) lines of code their are, the easier it is for someone to learn/understand it, so there's no good reason to have no-op lines laying around.
- As per https://reviews.handbrake.fr/r/122/
- Also re commit the update to xcode 3.2.6 commit from https://trac.handbrake.fr/changeset/4004 which I borked later.

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

13 years agoAdd DTS-HD passthru \o/
jstebbins [Tue, 14 Jun 2011 01:24:34 +0000 (01:24 +0000)]
Add DTS-HD passthru \o/

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

13 years agoMacGui: HBAudio Indentation Cleanup
dynaflash [Mon, 13 Jun 2011 20:27:46 +0000 (20:27 +0000)]
MacGui: HBAudio Indentation Cleanup
- Patch by Rodeo ... Thanks!
- Change hard tabs to 4 spaces
- Place the opening bracket of if, else if, else, while and for statements on another line, not the same line as the condition.
- Xcode's Edit > Format > Re-Indent on all files.
- This patch is purely about cosmetics and indentation. There shouldn't be any change in behavior.
- As per https://reviews.handbrake.fr/r/101/

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

13 years agolibhb: fix problem with processing audio gaps in dts streams
jstebbins [Sun, 12 Jun 2011 19:19:18 +0000 (19:19 +0000)]
libhb: fix problem with processing audio gaps in dts streams
incorrect start time was placed on the outgoing dts packet when
a gap was detected.

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

13 years agolibhb: generalize channel remapping between decoders and encoders
jstebbins [Sun, 12 Jun 2011 18:05:20 +0000 (18:05 +0000)]
libhb: generalize channel remapping between decoders and encoders
Decoders set the channel map of their output in hb_audio_config_t.
Encoders use this information to remap while encoding.

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

13 years agoLinGui: fix another problem with setting proper mixdown
jstebbins [Sun, 12 Jun 2011 17:59:45 +0000 (17:59 +0000)]
LinGui: fix another problem with setting proper mixdown

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

13 years agoUpdating StyleCop settings in HandBrakeInterop to allow tabs.
randomengy [Sun, 12 Jun 2011 17:59:38 +0000 (17:59 +0000)]
Updating StyleCop settings in HandBrakeInterop to allow tabs.

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

13 years agoStyleCop fixes. Also removed copying hb.dll step to fix build error.
randomengy [Sun, 12 Jun 2011 17:40:18 +0000 (17:40 +0000)]
StyleCop fixes. Also removed copying hb.dll step to fix build error.

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

13 years agoWin: Add a stylecop settings file to the Interop project.
sr55 [Sun, 12 Jun 2011 17:06:14 +0000 (17:06 +0000)]
Win: Add a stylecop settings file to the Interop project.

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

13 years agoRemoving user-specific .suo file.
randomengy [Sun, 12 Jun 2011 16:59:33 +0000 (16:59 +0000)]
Removing user-specific .suo file.

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

13 years agoAdd RandomEngy to the Authors file now that his Interop code is imported.
sr55 [Sun, 12 Jun 2011 16:57:57 +0000 (16:57 +0000)]
Add RandomEngy to the Authors file now that his Interop code is imported.

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

13 years agoWinGui: Bring in the HandBrake Interop library written by RandomEngy.
sr55 [Sun, 12 Jun 2011 16:54:23 +0000 (16:54 +0000)]
WinGui: Bring in the HandBrake Interop library written by RandomEngy.

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

13 years agoLinGui: oops, part of another patch went with last commit
jstebbins [Sun, 12 Jun 2011 00:47:56 +0000 (00:47 +0000)]
LinGui: oops, part of another patch went with last commit
revert broken bits.

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

13 years agoLinGui: fix a problem with mixdown options
jstebbins [Sun, 12 Jun 2011 00:40:27 +0000 (00:40 +0000)]
LinGui: fix a problem with mixdown options
incorrect mixdown options were disabled when the "Choose for me"
encoder option was selected.

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

13 years agoWinGui: Update the appearance of the subtitles tab to be consistent with the audio...
sr55 [Sat, 11 Jun 2011 17:36:55 +0000 (17:36 +0000)]
WinGui: Update the appearance of the subtitles tab to be consistent with the audio tab.

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

13 years agoWinGui: Added support for the new ffmpeg aac encoder.
sr55 [Sat, 11 Jun 2011 17:24:43 +0000 (17:24 +0000)]
WinGui: Added support for the new ffmpeg aac encoder.

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

13 years agoWinGui:
sr55 [Sat, 11 Jun 2011 14:52:15 +0000 (14:52 +0000)]
WinGui:
- Force Growl Communicator to use SHA1 instead of MD5.

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

13 years agoLinGui: fix parameters to value-changed callback for gain and drc
jstebbins [Sat, 11 Jun 2011 02:52:38 +0000 (02:52 +0000)]
LinGui: fix parameters to value-changed callback for gain and drc
stupid cut-and-paste error.  caused crashes on some systems.

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

13 years agolibhb: clean up AVCodecContext initializations
jstebbins [Fri, 10 Jun 2011 18:20:30 +0000 (18:20 +0000)]
libhb: clean up AVCodecContext initializations
also fixes warning message generated by libav when initializing "silence"
sample about channel layout setting.

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

13 years agolibhb: disable threaded ffmpeg decoding for scan
jstebbins [Fri, 10 Jun 2011 15:31:32 +0000 (15:31 +0000)]
libhb: disable threaded ffmpeg decoding for scan
There is a bug in ffmpeg that causes a crash if you call
avcodec_open and avcodec_close repeatedly on the same AVCodecContext.

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

13 years agoMacGui: Increase width of main window from 754 to 960
dynaflash [Thu, 9 Jun 2011 18:37:14 +0000 (18:37 +0000)]
MacGui: Increase width of main window from 754 to 960
- Increases the main window width from 754 to 960 which is an increase of 206 px. This allows more breathing room for some crowded tabs like Audio, Subtitles and Advanced. Also increased the associated views. The main prompt for this is the very crowded audio tab which recently added Gain and also could use a vbr checkbox as well as possibly an aname field. I would rather maximize the width we deem available before going to an advanced audio track popup like the lingui and wingui currently utilize.
- For now any widgets have been expanded to their nearest longest known value without truncating.
- As per review board https://reviews.handbrake.fr/r/116/

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

13 years agoRefresh "Normal" preset
jstebbins [Thu, 9 Jun 2011 00:49:31 +0000 (00:49 +0000)]
Refresh "Normal" preset
- Changes "Normal" to use x264 --preset veryfast --profile main
  Nearly doubles it's speed for little loss of file size or quality.
- remove dummy average bitrate values from all built-in presets
- adds Large File Size to the High Profile preset

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

13 years agolibhb: Enable multi-threaded decode in ffmpeg
jstebbins [Wed, 8 Jun 2011 21:20:08 +0000 (21:20 +0000)]
libhb: Enable multi-threaded decode in ffmpeg
Enable both slice and frame based mutli-threaded decode in ffmpeg.
Uses cpu_count/2 + 1 threads.

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