]> granicus.if.org Git - handbrake/log
handbrake
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

13 years agocli: Allow more flexible specification of native language in the cli
jstebbins [Wed, 8 Jun 2011 21:17:31 +0000 (21:17 +0000)]
cli: Allow more flexible specification of native language in the cli
Let the user specify their native language using any of the strings
supported in the iso639_lang table.

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

13 years agoLinGui: move advanced audio from a dialog popup to an expander box
jstebbins [Wed, 8 Jun 2011 21:15:06 +0000 (21:15 +0000)]
LinGui: move advanced audio from a dialog popup to an expander box
The expander fits on the audio tab and expands the advanced controls
when activated.

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

13 years agoAdd ffaac encode support
jstebbins [Wed, 8 Jun 2011 18:28:55 +0000 (18:28 +0000)]
Add ffaac encode support
Adds "AAC (ffmpeg)" option to lingui and macui, "ffaac" option to cli.
Does not yet remove faac.

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

13 years agofix up usage of deprecated libav symbols and clean up patch fuzz
jstebbins [Tue, 7 Jun 2011 22:35:54 +0000 (22:35 +0000)]
fix up usage of deprecated libav symbols and clean up patch fuzz

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

13 years agolibhb: add support for libav aac encoder (libhb only)
jstebbins [Tue, 7 Jun 2011 21:27:02 +0000 (21:27 +0000)]
libhb: add support for libav aac encoder (libhb only)
This generalizes the ac3 encoder to make it easy to add support
for any audio encoder that libav supports.  Since ffaac is not quite
ready, the cli and gui does not expose ffaac yet.

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

13 years agoBump FFmpeg from git-0b32da9 to git-v0.7b2-406-g7b20d35 (from Libav)
jstebbins [Tue, 7 Jun 2011 20:35:42 +0000 (20:35 +0000)]
Bump FFmpeg from git-0b32da9 to git-v0.7b2-406-g7b20d35 (from Libav)

Highlights:
- Sources with more than 20 streams (video, audio and subtitles combined)
  are now supported
- Adds decoding support for 10-bit H.264
- Adds frame-based threading for H.264 and VP8
  Not yet enabled in HB. See experimental patch on RB to enable.
- Quality tweaks for the AC3 encoder
- AAC encoder improvements
  Not yet enabled in HB. See experimental patch on RB to enable.
- Miscellaneous other fixes and improvements

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

13 years agolibhb: Sort BD titles by playlist id
jstebbins [Tue, 7 Jun 2011 18:33:00 +0000 (18:33 +0000)]
libhb: Sort BD titles by playlist id
This makes the logs of different rips more consistent.  Previously, the
order of titles was determined by the order the mpls files were written
in the PLAYLIST directory which could vary from rip to rip.

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

13 years agoWinGui: Update the Audio Track name handling code to work with the CLI fixes.
sr55 [Tue, 7 Jun 2011 18:21:44 +0000 (18:21 +0000)]
WinGui: Update the Audio Track name handling code to work with the CLI fixes.

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

13 years agolibhb: fix crash when x264 fails to initialize
jstebbins [Mon, 6 Jun 2011 21:54:56 +0000 (21:54 +0000)]
libhb: fix crash when x264 fails to initialize

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

13 years agoFix a problem with filtering and picking correct BD title
jstebbins [Sun, 5 Jun 2011 19:48:05 +0000 (19:48 +0000)]
Fix a problem with filtering and picking correct BD title
Titles that are the same except for number of chapters were being
filtered out of the title list.  So sometimes you would get a BD title
that didn't seem to have any chapters.

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

13 years agoMerge pull request #2 from rdp/master
sr55 [Sat, 4 Jun 2011 17:57:59 +0000 (17:57 +0000)]
Merge pull request #2 from rdp/master

readme tweak

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

13 years agoWinGui: Removed some duplicate code and some general cleanup to the scan service...
sr55 [Sat, 4 Jun 2011 16:33:36 +0000 (16:33 +0000)]
WinGui: Removed some duplicate code and some general cleanup to the scan service cod.

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

13 years agoLinGui: Add support for naming audio tracks.
jstebbins [Fri, 3 Jun 2011 21:56:10 +0000 (21:56 +0000)]
LinGui: Add support for naming audio tracks.
Also fix hb_audio_add. It was not copying the audio name.
And fix audio track name parsing in the CLI.

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

13 years agoWinGui:
sr55 [Fri, 3 Jun 2011 19:49:57 +0000 (19:49 +0000)]
WinGui:
- Added support for naming tracks. New text entry field on the Advanced Audio Window. (Note: May be some CLI issues that need to be fixed up for this. We'll see)
- Disabled application settings upgrade when moving from a release to a svn build. Upgrades now only work for svn -> svn builds as there has been reliability issues when upgrading from much older builds.

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

13 years agoLinGui: fix preview encode progress display when # previews > 10
jstebbins [Fri, 3 Jun 2011 15:55:00 +0000 (15:55 +0000)]
LinGui: fix preview encode progress display when # previews > 10
flags array indicating that the preview had already been encoded
for live playback was limited to 10.  Forgot to change it when we
started allowing more previews.

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

13 years agoWinGui: Improvements to the AutoName functionality.
sr55 [Thu, 2 Jun 2011 19:03:17 +0000 (19:03 +0000)]
WinGui: Improvements to the AutoName functionality.
- Added more flexibility to the "{source_path}" option so that it can now be used with additional folders listed after it. e.g. "{source_path}\encoded". It is no longer limited to just that folder.
- Added an option to put todays date in the output filename "{date}"
- Some tweaks to the way warnings are displayed when using these features to make them a bit less annoying.

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

13 years agobump x264 from r1937 to r1995
jstebbins [Tue, 31 May 2011 16:28:56 +0000 (16:28 +0000)]
bump x264 from r1937 to r1995

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

13 years agoAdd patch to disable SSE in mpeg2dec for mingw64
jstebbins [Tue, 31 May 2011 14:54:14 +0000 (14:54 +0000)]
Add patch to disable SSE in mpeg2dec for mingw64
This allows use of mpeg2dec with mingw64.  From what I've read,
disabling sse in mpeg2dec will result in about 10% speed penalty.

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

13 years agoFix build breakage on gcc < 4.5
jstebbins [Tue, 31 May 2011 14:32:23 +0000 (14:32 +0000)]
Fix build breakage on gcc < 4.5
Yesterdays patch to fix mpeg2dec builds on gcc 4.6 broke builds < 4.5.
This should fix both.

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

13 years agoFix gcc4.6 build error that results in a crash in sse2 code
jstebbins [Mon, 30 May 2011 16:38:08 +0000 (16:38 +0000)]
Fix gcc4.6 build error that results in a crash in sse2 code
This fixes mpeg2 decoding on fedora15 and probably also fixes
the mpeg2dec issue we saw with mingw64.

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

13 years agoWinGui: Some additional work on the libhb encode service to move it closer to a worki...
sr55 [Sun, 29 May 2011 17:29:57 +0000 (17:29 +0000)]
WinGui: Some additional work on the libhb encode service to move it closer to a working service.

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

13 years agoWinGui: Refactored the Encode Service to move any reusable code into a base class...
sr55 [Sun, 29 May 2011 16:19:19 +0000 (16:19 +0000)]
WinGui: Refactored the Encode Service to move any reusable code into a base class. Added a new service which will eventually work with libhb to do encodes. Currently this just contains placeholders which throw NotImplementedExceptions.

Removed the Total Elapsed Time on the Queue window since it doesn't work. This will be re-implemented later.

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

13 years agoWinGui: Add fps display to the queue window.
sr55 [Sat, 28 May 2011 13:11:16 +0000 (13:11 +0000)]
WinGui: Add fps display to the queue window.

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

13 years agoWinGui: Fix to the Audio Panel. It now creates a copy of the sources Audio Tracks...
sr55 [Thu, 26 May 2011 18:29:04 +0000 (18:29 +0000)]
WinGui: Fix to the Audio Panel. It now creates a copy of the sources Audio Tracks collection rather than using a reference. The reference was getting cleared out if the user re-selected a title which was causing a crash. Also added some extra sanity checking code in to prevent possible issues.

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

13 years agoMacGui: Update project file for XCode 3.2.6
dynaflash [Thu, 26 May 2011 17:04:02 +0000 (17:04 +0000)]
MacGui: Update project file for XCode 3.2.6
- patch by blindjimmy ... as always thanks!
- as per https://reviews.handbrake.fr/r/98/

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

13 years agoMacGui: Add -selectedPreset helper method
dynaflash [Thu, 26 May 2011 16:17:13 +0000 (16:17 +0000)]
MacGui: Add -selectedPreset helper method
- Patch once again by blindjimmy.. thanks!
- This change consolidates all the calls in Controller.m of [fPresetsOutlineView itemAtRow:[fPresetsOutlineView selectedRow]] to get the currently selected preset to use a new -selectedPreset accessor method. This is both easier to read and is better decomposition.
- as per https://reviews.handbrake.fr/r/85/

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

13 years agoMacGui: Clean up internal architecture of HB Audio and HBAudioController
dynaflash [Thu, 26 May 2011 15:48:37 +0000 (15:48 +0000)]
MacGui: Clean up internal architecture of HB Audio and HBAudioController
- patch by blindjimmy ... as always .... thank you!
- as per https://reviews.handbrake.fr/r/81/

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

13 years agoMacGui: Fix some compile time warnings.
dynaflash [Thu, 26 May 2011 14:00:20 +0000 (14:00 +0000)]
MacGui: Fix some compile time warnings.
- patch by blindjimmy, thanks!
- as per https://reviews.handbrake.fr/r/99/

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

13 years agoMacGui: Audio Gain Control initial implementation
dynaflash [Thu, 26 May 2011 04:27:08 +0000 (04:27 +0000)]
MacGui: Audio Gain Control initial implementation
- Adds a Circular Slider to implement gain from a range of -5 to +15 which is sane by any reasonable measure.
- Note: the circular slider with this range puts the default of 0.0 at the three o'clock position on the slider which is kind of wonky. Any ideas to make it more intuitive are welcome.
-The accompanying text field readout is left editable so values beyond the sliders range can be specified manually.
- Gain is disabled for any passthru options obviously.
- Though it has been in cli and lingui for some time, as a note my tests show that anything above +15 can get distorted quite easily. Of course that is open to opinion depending on source, I have yet to see a complaint about the volume of encoded audio being too high but we leave up to -5 there just for the corner cases.
- Any existing presets not specifying gain will use a gain of 0.0 which means of course its unmodified.
- Also as a sidenote takes care of blindjimmy's patch https://reviews.handbrake.fr/r/99/ as far as /macosx/HBQueueController.m

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

13 years agoWinGui: Fix the option to always automatically add closed closed captions to the...
sr55 [Wed, 25 May 2011 17:52:20 +0000 (17:52 +0000)]
WinGui: Fix the option to always automatically add closed closed captions to the subtitles output.

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

13 years agoWinGui: Made a change to the Query Generator to use the Scanned Source Path rather...
sr55 [Mon, 23 May 2011 18:37:36 +0000 (18:37 +0000)]
WinGui: Made a change to the Query Generator to use the Scanned Source Path rather than the folder selected for batch and single file scans. Falls back to old behaviour of users selected path if said path is not available.

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

13 years agoWinGui: Update the Installer.nsi to include the splitbutton control dll.
sr55 [Sun, 22 May 2011 20:30:41 +0000 (20:30 +0000)]
WinGui: Update the Installer.nsi to include the splitbutton control dll.

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

13 years agoWinGui: Update the interop library.
sr55 [Sun, 22 May 2011 19:52:09 +0000 (19:52 +0000)]
WinGui: Update the interop library.

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

13 years agoWinGui: Add a new option "Add All" to the Audio track which adds any remaining tracks...
sr55 [Sun, 22 May 2011 19:06:27 +0000 (19:06 +0000)]
WinGui: Add a new option "Add All" to the Audio track which adds any remaining tracks to the audio list, with default audio settings. Also changed the ObservableCollection back to a BindingList as the Track dropdown behaves better with this.

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

13 years agoWinGui: Fix an unusual issue with the DataBinding on the AudioTrack dropdown control...
sr55 [Sun, 22 May 2011 10:51:43 +0000 (10:51 +0000)]
WinGui: Fix an unusual issue with the DataBinding on the AudioTrack dropdown control. Seems to no longer get the ListChanged events when the model object is marked as serializable.

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

13 years agoWinGui: Another fix for the preset service which was not correctly updating presets...
sr55 [Sat, 21 May 2011 20:21:03 +0000 (20:21 +0000)]
WinGui: Another fix for the preset service which was not correctly updating presets when installing a new version.

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

13 years agoWinGui: Add Exported Preset contents to the error dialog for the presets service...
sr55 [Sat, 21 May 2011 20:12:02 +0000 (20:12 +0000)]
WinGui: Add Exported Preset contents to the error dialog for the presets service for debugging.

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

13 years agoWinGui: Added missing update fromm previous checkin.
sr55 [Sat, 21 May 2011 20:00:27 +0000 (20:00 +0000)]
WinGui: Added missing update fromm previous checkin.

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

13 years agoWinGui: Fix a Serialization issue that was causing the Winforms designer to trip...
sr55 [Sat, 21 May 2011 19:55:50 +0000 (19:55 +0000)]
WinGui: Fix a Serialization issue that was causing the Winforms designer to trip up when loading the main form.

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

13 years agoWinGui:
sr55 [Sat, 21 May 2011 19:38:40 +0000 (19:38 +0000)]
WinGui:
- Small tweak to the preset service which might fix the preset loading issue when upgrading to a new version.

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

13 years agoWinGui:
sr55 [Sat, 21 May 2011 19:05:24 +0000 (19:05 +0000)]
WinGui:
- Added some debug handling into the presets service which will hopefully make it easier to track down the reason why presets sometimes do not load correctly when updating to a newer nightly build.

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

13 years agoRemove the depreciated hb_calc_bitrate method
sr55 [Sat, 21 May 2011 13:13:48 +0000 (13:13 +0000)]
Remove the depreciated hb_calc_bitrate method

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

13 years agoMacGui: Remove deprecated PictureDecombDeinterlace key.
dynaflash [Thu, 19 May 2011 19:40:21 +0000 (19:40 +0000)]
MacGui: Remove deprecated PictureDecombDeinterlace key.
- As per https://reviews.handbrake.fr/r/95/
- Patch by Rodeo ... as always thanks Rodeo!

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

13 years agoMacGui: Don't assign nil to ints (duh)
dynaflash [Thu, 19 May 2011 19:33:10 +0000 (19:33 +0000)]
MacGui: Don't assign nil to ints (duh)
- As per https://reviews.handbrake.fr/r/88/
- Patch by blindjimmy, once again thanks!

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

13 years agoMacGui: Remove unused variables to suppress warnings at compile time
dynaflash [Thu, 19 May 2011 19:27:57 +0000 (19:27 +0000)]
MacGui: Remove unused variables to suppress warnings at compile time
- As per https://reviews.handbrake.fr/r/87/
- Patch by blindjimmy ... thanks!

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

13 years agoMacgui: libhb, MacGUI: reflect the fact that DRC only applies to non-passthru AC3...
dynaflash [Thu, 19 May 2011 19:21:43 +0000 (19:21 +0000)]
Macgui: libhb, MacGUI: reflect the fact that DRC only applies to non-passthru AC3 sources
- As per https://reviews.handbrake.fr/r/74/
-Patch by Rodeo, Thanks.

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

13 years agoMacGui: Fix the wording for Peak Framerate to match the Lingui.
dynaflash [Thu, 19 May 2011 18:43:20 +0000 (18:43 +0000)]
MacGui: Fix the wording for Peak Framerate to match the Lingui.
- Patch by Rodeo As per https://reviews.handbrake.fr/r/79/

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

13 years agoFix some problems with rgb2yuv and yuv2rgb
jstebbins [Tue, 17 May 2011 19:47:10 +0000 (19:47 +0000)]
Fix some problems with rgb2yuv and yuv2rgb
yuv2rgb converted incorrectly.  Cb and Cr were swapped in 2 of the 3 conversion
expressions.

rgb2yuv was setting the color channels in the incorrect order in the output.

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

14 years agoWinGui:
sr55 [Sat, 14 May 2011 14:59:59 +0000 (14:59 +0000)]
WinGui:
- More reliable version checking on the "Out of Date built-in preset check"

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

14 years agoWinGui:
sr55 [Sat, 14 May 2011 14:46:16 +0000 (14:46 +0000)]
WinGui:
- Removed the Question Alert box when adding an item to the queue where the destination folder does not exist. The folder is automatically created before encode anyway, so no point in asking the user pre-Encode.cs
- Better error handling in the encode service.

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

14 years agoWinGui:
sr55 [Tue, 10 May 2011 19:13:55 +0000 (19:13 +0000)]
WinGui:
- Set defaults for the Encode and Bitrate dropdown control on the Audio Panel. Seemed to be an exception

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

14 years agoWinGui:
sr55 [Tue, 10 May 2011 18:54:28 +0000 (18:54 +0000)]
WinGui:
- Couple of cosmetic fixes to the CLI Query that's generated.

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

14 years agoWinGui:
sr55 [Mon, 9 May 2011 19:46:02 +0000 (19:46 +0000)]
WinGui:
- Default DRC to 0 for imported presets.

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

14 years agoWinGui:
sr55 [Sun, 8 May 2011 15:38:03 +0000 (15:38 +0000)]
WinGui:
- Updating a preset wasn't saving the update to disk.

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

14 years agoWinGui:
sr55 [Sun, 8 May 2011 15:25:35 +0000 (15:25 +0000)]
WinGui:
- Fix a Culture issue in the Query Generator for Audio Panels

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

14 years agoWinGui:
sr55 [Sun, 8 May 2011 11:00:16 +0000 (11:00 +0000)]
WinGui:
- Add Elapsed Encode Time the main window.
- Add Elapsed Queue Time to the queue window. (Note, Pausing the queue resets this currently)
- Fixed an issue with disabled controls on the audio panel after removing the last track which was passthru.

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

14 years agoWinGui:
sr55 [Sat, 30 Apr 2011 21:25:53 +0000 (21:25 +0000)]
WinGui:
- Fix to the Audio Panel Track Display which was intermittently not showing a track.
- Fixed a number of bugs in the plist parser which was prevent imports.
- Fixed a number of Issues with the Preset Import/Export.

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

14 years agoRemove old muxers that are no longer used by HB
sr55 [Sat, 30 Apr 2011 15:28:14 +0000 (15:28 +0000)]
Remove old muxers that are no longer used by HB

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

14 years agoWinGui:
sr55 [Sat, 30 Apr 2011 12:49:44 +0000 (12:49 +0000)]
WinGui:
- Fix an issue where the user could overwrite a built-in preset.
- Fix some more audio issues in relation to incorrect bitrate and sample rate being selected.

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