Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on Oct 17, 2011
@HandBrake HandBrake Merge branch 'master' of d514779
jstebbins detect progressive upsampling in vfr
progressive 23.976 fps content that has upsampled to progressive 59.94
fps can result in juddery output if you don't drop the "right" frames
while downsampling back to 23.976.  This adds a test that computes the
sum of squared errors between 2 candidate frames to drop and makes a
more intelligent decision based on this metric.

git-svn-id: svn://localhost/HandBrake/trunk@4297 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 0662912
Commits on Oct 18, 2011
jstebbins better detection of Libav audio bitrate
For some codecs, Libav does not set the codec context bitrate.  They
expect you to compute it from bits per sample, sample rate, and

git-svn-id: svn://localhost/HandBrake/trunk@4298 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 397132d
Commits on Oct 19, 2011
konablend limit optimization level to -O3 as llvm's gcc/clang codebase borks on…
… -O4 and higher

git-svn-id: svn://localhost/HandBrake/trunk@4299 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 4e504a3
Commits on Oct 20, 2011
jstebbins make build_gamma_lut static
This function is specific to renderers duplicate frame detection method
and conflicts with the decomb3 patch with uses a floating point gamma

git-svn-id: svn://localhost/HandBrake/trunk@4300 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of ba60582
Commits on Oct 21, 2011
jstebbins bump libogg from 1.1.3 to 1.3.0
patch configure for osx

git-svn-id: svn://localhost/HandBrake/trunk@4301 b64f7644-9d1e-0410-96f1-a4d463321fa5
jstebbins bump libvorbis from aoTuV b5 to b6.03
Libvorbis aoTuV was unified with Xiph.Org's libvorbis1.3.2.
Many bug fixes and improvements.
Enlarge buffer for audio headers. The new vorbis generates
larger code book headers.
patch configure to fix llvm -O4 bug

git-svn-id: svn://localhost/HandBrake/trunk@4302 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of fe51c59
jstebbins bump freetype from 2.3.9 to 2.4.7
git-svn-id: svn://localhost/HandBrake/trunk@4303 b64f7644-9d1e-0410-96f1-a4d463321fa5
jstebbins ASS bump to 0.10.0
libass has a new dependency on fribidi.  So also add fribidi to
contribs.  I repackaged the libass distribution because the configure
script shipped with it is damaged beyond repair for darwin.

git-svn-id: svn://localhost/HandBrake/trunk@4304 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 2d2228a
Commits on Oct 22, 2011
jstebbins LinGui: add fribidi to build dependencies
git-svn-id: svn://localhost/HandBrake/trunk@4305 b64f7644-9d1e-0410-96f1-a4d463321fa5
sr55 WinGui: Initial layout of the WPF options window
git-svn-id: svn://localhost/HandBrake/trunk@4306 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 0f4055b
jstebbins Update linux build documentation
Add fribidi to build dependencies

git-svn-id: svn://localhost/HandBrake/trunk@4307 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of a46da45
jstebbins Add new decomb modes
This is jbrjakes decomb3 patch.
New modes are gamma compensation and erode dialate filter.
Gamma adjusting pixel values makes less visible differences count less
in the metric that is calculated.  Filtering removes isolated "hits"
that are more likely noise.  This all makes decomb more discerning and
therefore the thresholds can be lowered.

The filter's defaults use these new modes with lower thresholds. If you
want the old behavior, use:

git-svn-id: svn://localhost/HandBrake/trunk@4308 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 3badd08
jstebbins LinGui: add "Fast" decomb option
Adds a fast decomb option that uses the decomb settings that were the
defaults before the introduction of decomb3.

git-svn-id: svn://localhost/HandBrake/trunk@4309 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of f6cb906
sr55 WinGui: (WPF) Added backing properties for binding on the options win…
…dow & some general tidy up of the code/comments.

git-svn-id: svn://localhost/HandBrake/trunk@4310 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of b6a1ac5
randomengy Wrap encoder lists in functions to expose them to Pinvoke.
git-svn-id: svn://localhost/HandBrake/trunk@4311 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 30e240a
Commits on Oct 23, 2011
sr55 WinGui: Add support for new decomb options.
git-svn-id: svn://localhost/HandBrake/trunk@4312 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 65a0fec
jstebbins bump x264 from r2085 to r2106
git-svn-id: svn://localhost/HandBrake/trunk@4313 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 8da9c84
Commits on Oct 25, 2011
jstebbins Add optional yasm contrib
To enable, "configure --enable-local-yasm"

Ubuntu 10.04 LTS (lucid) has yasm 0.8 which is no longer compatible with
x264.  This change allows us to build yasm as a contrib and use it for
building both Libav and x264 which require yasm.

git-svn-id: svn://localhost/HandBrake/trunk@4314 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of d58a87b
jstebbins Fix configure rule for building lucid package

git-svn-id: svn://localhost/HandBrake/trunk@4315 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of c04bfbc
jstebbins Find font attachments by file name extension
Some font attachments don't have the correct mime type.  So check the
file name extension as well when looking for fonts.

git-svn-id: svn://localhost/HandBrake/trunk@4316 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of a265923
jstebbins initialize wait_for_keyframe in the right place
It was in in the wrong initialization function.  So wasn't doing
anything very useful :p

git-svn-id: svn://localhost/HandBrake/trunk@4317 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 64e407a
jstebbins LinGui: fix couple audio bitrate display problems
git-svn-id: svn://localhost/HandBrake/trunk@4318 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 7fe0d55
sr55 WinGui: (WPF) Further work on the options screen. Initial rough styli…
…ng and Load method.

git-svn-id: svn://localhost/HandBrake/trunk@4319 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 1a3d614
jstebbins use more sensitive threshold for pullup detection
This improves our accuracy at detecting the framerate of telecined

git-svn-id: svn://localhost/HandBrake/trunk@4320 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 643355a
Commits on Oct 26, 2011
jstebbins CLI: fix bitrate parameter parsing
When fewer bitrates than tracks were specified and only one bitrate is
specified, we didn't apply the bitrate to all tracks properly.

git-svn-id: svn://localhost/HandBrake/trunk@4321 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of f7638c3
jstebbins bump ffmpeg to v0.7-1470-gb95fbba
Fixes problem setting dsur_mode in ac3 encoder that caused encode
failures if using ac3 encoder and mixdown is dolby or dplii.
Fixes a VC-1 decode issue that caused scattered misplaced blocks.
Fixes swscale bug that caused banding.

git-svn-id: svn://localhost/HandBrake/trunk@4322 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of cdf7239
sr55 WinGui: Some behavioural fixes to the audio panel controls.
git-svn-id: svn://localhost/HandBrake/trunk@4323 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of ec40b32
jstebbins remove some debug messages I inadvertently left in
git-svn-id: svn://localhost/HandBrake/trunk@4324 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 73480a1
Commits on Oct 28, 2011
jstebbins LinGui: fix problem saving flac audio in preset
git-svn-id: svn://localhost/HandBrake/trunk@4325 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of f3470e0
sr55 WinGui: (WPF) Options window bindings are now in place.
git-svn-id: svn://localhost/HandBrake/trunk@4326 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 474e90a
Commits on Oct 29, 2011
jstebbins LinGui: fix "Auto" audio encoder selection
When a fallback encoder is chosen, the actual encoder used should show
up in the audio list, but "Auto" should remain selected in the dropdown.

git-svn-id: svn://localhost/HandBrake/trunk@4327 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 5215954
sr55 WinGui: (WPF) Continued work on the options window. Save Settings, Va…
…rious functions and place holders for TODO's

git-svn-id: svn://localhost/HandBrake/trunk@4328 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 51c471a
Commits on Oct 30, 2011
sr55 Interop: Updates to the Interop Library to use the new methods to get…
… at the Audio/Video encoder information from libhb. Patch by RandomEngy.

git-svn-id: svn://localhost/HandBrake/trunk@4329 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 0b6430c
sr55 WinGui: (WPF) Further work on the new Options window. Just UI/Cosmeti…
…c code to finish now.

git-svn-id: svn://localhost/HandBrake/trunk@4330 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 7bdd86a
sr55 WinGui: (WPF) Initial setup for the Log Window.
git-svn-id: svn://localhost/HandBrake/trunk@4331 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of f08a858
Commits on Oct 31, 2011
jstebbins Allow vorbis quality to go down to -0.2
Bizzaro vorbis allows negative quality factors. They go to 11 in the
wrong direction.

git-svn-id: svn://localhost/HandBrake/trunk@4332 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of b348b78
jstebbins LinGui: fix a problem with height control
Attempting to increase the height would revert back to previous setting
due to rounding problems.

git-svn-id: svn://localhost/HandBrake/trunk@4333 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 8e5c86e
Commits on Nov 01, 2011
jstebbins LinGui: add index to audio descr in audio list
Audios that have identical descriptions are difficult to distinguish in
the audio list.  So add the track index to the display.

git-svn-id: svn://localhost/HandBrake/trunk@4334 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 169a073
jstebbins LinGui: fix initial subtitle selection
combo box selection was not getting initialized, so showed no selection.

git-svn-id: svn://localhost/HandBrake/trunk@4335 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of f53be14
Commits on Nov 02, 2011
jstebbins Disable DTS-HD LBR secondary audio tracks
DTS-HD LBR used in HD-DVD and bluray for secondary audio
streams. Libav can not decode yet.  Having it in the audio
list causes long delays during scan while we try to get stream
parameters. So skip this audio type for now.

git-svn-id: svn://localhost/HandBrake/trunk@4336 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 409bf22
jstebbins Fix ac3 mixdown to mono
we were setting the wrong mixdown flag. Funny how something like this
can go for so long unnoticed.

git-svn-id: svn://localhost/HandBrake/trunk@4337 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of a7dcc6f
Commits on Nov 04, 2011
jstebbins bump Libav to v0.7-1696-gcae4f4b
Fixes mingw64 crash when decoding dts audio

git-svn-id: svn://localhost/HandBrake/trunk@4338 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of d294711
sr55 WinGui: Use Invariant culture in the Status Parser.
git-svn-id: svn://localhost/HandBrake/trunk@4339 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 1ba4539
sr55 WinGui: Several more culture issue fixes.
git-svn-id: svn://localhost/HandBrake/trunk@4340 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of fccac58
Commits on Nov 06, 2011
jstebbins Fix probing mpeg video in program streams
... and probably some other formats as well.  Libav's probe routine
doesn't necessarily return names that match the codec names 
that can be looked up by avcodec_find_decoder_by_name().  So we
have to manually map the names if the lookup fails.  Lookup for
mpeg video started failing with the last Libav bump because
they removed an obsolete "mpegvideo" decoder that we were matching
on.  The correct decoder is "mpeg2video", but probe doesn't return
that string.

Also fix our implementation of the ff_lockmgr callback.  Current
git Libav fails if we don't fix it. So might as well fix it now.

git-svn-id: svn://localhost/HandBrake/trunk@4341 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 37f6340
sr55 WinGui: (WPF) Starting to wire up bits of the main window. (Source Scan)
git-svn-id: svn://localhost/HandBrake/trunk@4342 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of f0b0f3c
Commits on Nov 09, 2011
jstebbins revert an ffmpeg reader change
I did this a while back to improve seek performance for some samples
that are demuxed by ffmpeg.  But it causes crashes with some file types.

git-svn-id: svn://localhost/HandBrake/trunk@4343 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 9b7a959
Commits on Nov 10, 2011
jstebbins Fix new dvd structure protection
Transformers 3

git-svn-id: svn://localhost/HandBrake/trunk@4344 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 663fdbf
jstebbins Fix closed captioning crash
Prevent the same CC buffer from being attached to multiple tags.  The
same buffer would get pushed to a fifo multiple times and ultimately
freed multiple times.

git-svn-id: svn://localhost/HandBrake/trunk@4345 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 111c47e
Commits on Nov 13, 2011
jstebbins Disable multi-threaded decoding of ProRes
It causes artifacts in some videos

git-svn-id: svn://localhost/HandBrake/trunk@4346 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 0a2159e
sr55 WinGui: (WPF) Further work on the WPF UI and associated servies and u…
…tilities. Started working on wiring up the ability to encode.

git-svn-id: svn://localhost/HandBrake/trunk@4347 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of f700d5c
jstebbins Fix seeking in wmv files that have no index
Libav's fallback binary search seek fails because a PTS is never
generated for video stream types that have B frames.

git-svn-id: svn://localhost/HandBrake/trunk@4348 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of b3ce8de
Commits on Nov 14, 2011
jstebbins LinGui: replace references to "Rip" with encode or transcode
git-svn-id: svn://localhost/HandBrake/trunk@4349 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of d078045
jstebbins Fix spurious audio compression & quality log warning
quality and compression_level were not getting initialized to -1 for

git-svn-id: svn://localhost/HandBrake/trunk@4350 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 0a62e3b
jstebbins Fix interleaving of subtitles in muxer
Specifically, this affects closed captions which are pushed into the
pipeline very late.  CC's are dribbled in 2 bytes per video frame.
The entire CC that we put into a subtitle frame isn't available till
we see the signal for the end of the CC.  This can be several seconds
after it began.  So I have established a minimum buffer size that the
muxer accumulates before it outputs any data.  This allows CCs to get
into the pipeline before the muxer outputs the interleave interval that
they belong in.

git-svn-id: svn://localhost/HandBrake/trunk@4351 b64f7644-9d1e-0410-96f1-a4d463321fa5
Commits on Nov 15, 2011
@HandBrake HandBrake Merge branch 'master' of c29cd08
jstebbins Make sure decvobsub.c generates valid timestamps
sync.c expects that timestamps will all be resolved by the time buffers
reach it.  Reader will invalidate timestamps while waiting to
resynchronize the SCR.  So decoders (inparticular decvobsub) need to
extrapolate timestamps when they are not supplied.

git-svn-id: svn://localhost/HandBrake/trunk@4352 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of f3f7139
jstebbins Fix out of memory condition on mingw32
realloc doesn't really release memory under most circumstances, so it's
not suitable for reducing the size of an hb_buffer_t.  So instead,
allocate a new smaller buffer, copy the data, and return the old larger
buffer to the buffer pool for reuse.

git-svn-id: svn://localhost/HandBrake/trunk@4353 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 9380662
Commits on Nov 17, 2011
sr55 WinGui: Fix the mpeg4 encoder query.
git-svn-id: svn://localhost/HandBrake/trunk@4354 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of bfbf62b
sr55 WinGui: Some issues with loading ffmpeg4 encoder via presets fixed.
git-svn-id: svn://localhost/HandBrake/trunk@4355 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 7b18af3
sr55 WinGui: Fixes to the Burned/Default flags being set incorrectly on th…
…e subtitle tab when adding multiple items.

git-svn-id: svn://localhost/HandBrake/trunk@4356 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 340bca5
Commits on Nov 18, 2011
jstebbins Fix crash in swscale on windows XP 32bit
It seems threads on XP are not guaranteed to start with an 16 byte
aligned stack.  swscale's SSE code assumed that the stack was aligned.

git-svn-id: svn://localhost/HandBrake/trunk@4357 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 8d1e365
jstebbins Align stack of all threads created by libhb
This is a preemptive measure to prevent any future crashes in SSE code
that requires 16 byte stack alignment.

git-svn-id: svn://localhost/HandBrake/trunk@4358 b64f7644-9d1e-0410-96f1-a4d463321fa5
Commits on Nov 19, 2011
@HandBrake HandBrake Merge branch 'master' of 2a1e8d5
sr55 WinGui: Fix a issue where audio controls would disable sometimes if t…
…here was only one audio track on the source.

git-svn-id: svn://localhost/HandBrake/trunk@4359 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 1d758c9
sr55 WinGui: Add a tooltip to the audio panel that explains it's operation…
… a bit better.

git-svn-id: svn://localhost/HandBrake/trunk@4360 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of ee125e0
Commits on Nov 20, 2011
sr55 WinGui: (WPF) Add global exception handler and new wpf exception view.
git-svn-id: svn://localhost/HandBrake/trunk@4361 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 95c5d81
sr55 WinGui: (WPF) Some further UI Work.
git-svn-id: svn://localhost/HandBrake/trunk@4362 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 9ad9fc3
Commits on Nov 26, 2011
sr55 WinGui: Change the audio panel, so that if no tracks are available, t…
…he controls will correctly enable/disable based on the encoder.

git-svn-id: svn://localhost/HandBrake/trunk@4363 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of c6268e6
jstebbins Show P-to-P start and end times in activity log
When start and end times are give in units of time or frames, show the
appropriate start and end indications in the activity log.

git-svn-id: svn://localhost/HandBrake/trunk@4364 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of de1175f
sr55 WinGui: (WPF) Further work on setting up the initial UI.
git-svn-id: svn://localhost/HandBrake/trunk@4365 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of b176f7a
Commits on Nov 28, 2011
sr55 WinGui: (WPF) Further UI work on the new interface.
git-svn-id: svn://localhost/HandBrake/trunk@4366 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of b22d8d9
Commits on Nov 29, 2011
sr55 CLI: "Rip" -> "Encode"
git-svn-id: svn://localhost/HandBrake/trunk@4367 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 1912895
sr55 WinGui: Fix to the autoname function {source_path} option. It would s…
…ometimes use a directory 1 level up from where it was supposed to.

git-svn-id: svn://localhost/HandBrake/trunk@4368 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 56cfcfa
Commits on Dec 01, 2011
sr55 WinGui: Fix VLC detection bug.
git-svn-id: svn://localhost/HandBrake/trunk@4369 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 080ccbc
sr55 WinGui: Extended the Automatic Audioo/Subtitle selection feature to a…
…llow a preferred language to be set for Subtitles and remove some restrictions on the window to make it more flexible.

git-svn-id: svn://localhost/HandBrake/trunk@4370 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 52c165f
Commits on Dec 02, 2011
sr55 WinGui: (WPF) Update with options panel with the latest WinForm changes.
git-svn-id: svn://localhost/HandBrake/trunk@4371 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 568ce90
Commits on Dec 03, 2011
sr55 WinGui: (WPF) Further work hooking up the new main window.
git-svn-id: svn://localhost/HandBrake/trunk@4372 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 751f629
Commits on Dec 05, 2011
dynaflash MacGui: 1st lion xcode 4.2.1 commit. Cosmetic Preview Window changes …
…to buttons that looked like ass on lion and add 64 bit arch to default build arches for lion.

git-svn-id: svn://localhost/HandBrake/trunk@4373 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of ac11172
Commits on Dec 08, 2011
Rodeo MacGUI: add "Fast" decomb option.
git-svn-id: svn://localhost/HandBrake/trunk@4374 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 6d54ee6
Rodeo MacGui: fix some warnings introduced in the previous commit.
git-svn-id: svn://localhost/HandBrake/trunk@4375 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of cb681db
Commits on Dec 20, 2011
sr55 WinGui: Import Patch to fix corrupted characters in the Parser class. h…

Thanks to golgol7777

git-svn-id: svn://localhost/HandBrake/trunk@4376 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 6a482da
sr55 WinGui: Some Audio Panel refactoring and an additional method to the …
…scan service to allow scan logs to be more easily debugged.

git-svn-id: svn://localhost/HandBrake/trunk@4377 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 57a383b
sr55 WinGui: Fix an issue with the Output Settings preset name display. It…
… was intermittently showing "Custom" for a selected preset.

git-svn-id: svn://localhost/HandBrake/trunk@4378 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of bcc154a
Commits on Dec 21, 2011
sr55 WinGui: (WPF) Some further work on the WPF GUI. Started to hook up pr…

git-svn-id: svn://localhost/HandBrake/trunk@4379 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of b840183
jstebbins Fix corruption of buffer pools by render subs
A subtitle buffer's "next" pointer was being modified after the
buffer was closed which corrupts the buffer pool.

git-svn-id: svn://localhost/HandBrake/trunk@4380 b64f7644-9d1e-0410-96f1-a4d463321fa5
jstebbins Add utilities for debugging fifo and buffer pools
They are all ifdef'd out and not used anywhere.  Enable and use as
needed when fifo issues crop up.

git-svn-id: svn://localhost/HandBrake/trunk@4381 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 162bc80
Commits on Dec 22, 2011
sr55 WinGui: Fix the Query Parser for x264 preset options.
git-svn-id: svn://localhost/HandBrake/trunk@4382 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 7155c2a
jstebbins Fix overlapping vobsubs
vobsubs that don't have a stop time were persisting too long and being
displayed under the next vobsub in the video.  We don't need to guess
the stop time of the vobsub.  sync already handles unknown stop times
for subtitles.

git-svn-id: svn://localhost/HandBrake/trunk@4383 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of a5458cc
sr55 WinGui: (WPF) Work on the Chapters Panel + Missing Image files.
git-svn-id: svn://localhost/HandBrake/trunk@4384 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of c86b926
Commits on Dec 23, 2011
Rodeo Use -2 to 10 range for Vorbis audio quality (same as what oggenc uses…
…), instead of the native libvorbis API values. This is what users will expect.

git-svn-id: svn://localhost/HandBrake/trunk@4385 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 219ecba
Commits on Dec 27, 2011
sr55 WinGui: (WPF) Initial work to implement the "Queue" and "Add Preset" …
…Windows. Additional setup work around the main window.

git-svn-id: svn://localhost/HandBrake/trunk@4389 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of a27eaef
sr55 WinGui: (WPF) Initial work to hookup the log viewer + some additional…
… helper classes ported over form the WinForms version.

git-svn-id: svn://localhost/HandBrake/trunk@4390 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 2244677
Commits on Dec 29, 2011
jstebbins Add path to log when decoding previews in batch scan
The title number isn't very helpful in batch scan mode.

git-svn-id: svn://localhost/HandBrake/trunk@4391 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of c1ef2cf
Commits on Dec 30, 2011
sr55 WinGui: (WPF) Fix build, Audio / Subtitle Panel initial template desi…
…gn, Output settings on the Main UI Wired up.

git-svn-id: svn://localhost/HandBrake/trunk@4392 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of dd2095e
sr55 WinGui: (WPF) Move all the main UI tab UserControls into an MVVM form…
…at. Mostly code shuffling.

git-svn-id: svn://localhost/HandBrake/trunk@4393 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 4dd0a69
sr55 WinGui: (WPF) Bug fixes, Initial work on the Filters View
git-svn-id: svn://localhost/HandBrake/trunk@4394 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of ea40453
Commits on Jan 04, 2012
konablend BuildSystem: Mac OS X - transition to Xcode4
- transition from Xcode3 to Xcode4
- overhaul HandBrake.xcodeproj file
- simplify down to 2 configurations: debug, release
- add xcconfig for useful variants: osx106.i386, osx106.x86_64, osx107.i386, osx107.x86_64
- add configure --xcode-config as preferred method to choose OSX minimum version and SDK
- overhaul Info.plist generation to use m4 instead of cpp
- remove use of direct static libraries on command line - Xcode4 now enables -search_paths_first by default
- reference external build static libraries project file - greatly simplifying project file maintenance
- update universal build targets to use --xcode-config
- update ffmpeg hack to build on i386 in both debug and optimized modes
- update ffmpeg build to show compile verbosity
- enable local yasm when yasm probe fails
- remove unused GCC.ldsysroot
- remove unused GCC.ldminver
- enhance xcodemake to use --sysroot, --minver
- update/regenerate docs accordingly
- add support for configure-time repo probe when svn repo is incompatible format to Xcode via .svn/HANDBRAKE_REPO_PROBE
- replaced make/test/build.matrix.darwin with make/test/build.matrix

git-svn-id: svn://localhost/HandBrake/trunk@4395 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 5fce2ad
konablend BuildSystem: Mac OS X - fix pkg.create target
- old placement of xcode products was in $(BUILD/)
- new location is $(XCODE.symroot)/

git-svn-id: svn://localhost/HandBrake/trunk@4396 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of a9f66b0
konablend BuildSystem: Mac OS X - fix pkg.create to use correct minver .dmg naming
Replace hardcoded .5 naming for product .dmg files with value derived
from $(GCC.minver) or blank if none is specified.

git-svn-id: svn://localhost/HandBrake/trunk@4397 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 9104180
jstebbins Fix flac md5 sum
Two mistakes.  First, we were sending NULL to the encoder twice, which
causes libav to finalize the md5 a second time and corrupt it.  Second,
I forgot that the context extradata needs to be re-copied to our audio
config before the muxer updates the flac header information.

git-svn-id: svn://localhost/HandBrake/trunk@4398 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 89adc80
Commits on Jan 05, 2012
Rodeo Backport mp4v2 SVN revision 473.
Fixes a crash due to a division by zero.

git-svn-id: svn://localhost/HandBrake/trunk@4399 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 320b578
Rodeo MacGUI: fix the popups in the audio panel.

git-svn-id: svn://localhost/HandBrake/trunk@4400 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of af7ecf1
Commits on Jan 07, 2012
sr55 WinGui: Control over automatic passthru options on the Audio Panel.
git-svn-id: svn://localhost/HandBrake/trunk@4401 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 0ff3a3b
sr55 WinGui: Couple of bug fixes to the Auto-Passthru feature.
git-svn-id: svn://localhost/HandBrake/trunk@4402 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 84b03ec
Rodeo manicure: add support for AAC/MP3 Passthru and FLAC.
git-svn-id: svn://localhost/HandBrake/trunk@4403 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 871cba9
Commits on Jan 08, 2012
sr55 WinGui: (WPF) Further work on hooking up the various tabs on the Main…
… Window.

git-svn-id: svn://localhost/HandBrake/trunk@4404 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 491db2a
Commits on Jan 09, 2012
jstebbins Fix fontconfig search path for linux and osx
It was searching for .../contrib/etc/fonts.  Needed to be set to the
standard search paths on the respective systems.

On windows, it already searches the directory fonts under the
executables directory.  We need to put a copy of fonts.conf there. This
can be copied from contrib/etc/fonts/fonts.conf

git-svn-id: svn://localhost/HandBrake/trunk@4405 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 5935411
Commits on Jan 14, 2012
jstebbins Improve mpeg-ps detection
Make mis-detects less likely by checking all the marker bits in the pack
header.  This makes it much less likely that we will be spoofed by data
that looks like a pack header.

git-svn-id: svn://localhost/HandBrake/trunk@4406 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of a021f2e
sr55 WinGui: Add an option to hide the Allowed Passthru checkboxes. (Hidde…
…n by default). Fixed an issue where the ScannedTrack was getting overwritten when switching between presets.

git-svn-id: svn://localhost/HandBrake/trunk@4407 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of d0fcb7c
sr55 WinGui: Add support for --audio-copy-mask and --audio-fallback
git-svn-id: svn://localhost/HandBrake/trunk@4408 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 672961d
sr55 WinGui: "copy" not "copy:*"
git-svn-id: svn://localhost/HandBrake/trunk@4409 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 65ef67b
jstebbins Add preference to enabled auto passthru options
The advanced auto passthru options are probably overkill for 90% of
people.  So simplify the UI by hiding them unless the user explicitly
asks for them in preferences.

git-svn-id: svn://localhost/HandBrake/trunk@4410 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 52a87d8
jstebbins Oops, disabled more widgets than I meant to
Only disable the auto-passthru widgets, not gain, quality, drc, ...

git-svn-id: svn://localhost/HandBrake/trunk@4411 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of e24fbc1
Commits on Jan 15, 2012
sr55 WinGui: Updated app-services library with support for auto-passthru.
git-svn-id: svn://localhost/HandBrake/trunk@4412 b64f7644-9d1e-0410-96f1-a4d463321fa5
sr55 WinGui: Missed one file.
git-svn-id: svn://localhost/HandBrake/trunk@4413 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 4623a94
Commits on Jan 17, 2012
konablend BuildSystem: Mac OS X - fix terminal-driven build to relink when cont…
…rib products change

git-svn-id: svn://localhost/HandBrake/trunk@4414 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of c8c0964
Commits on Jan 18, 2012
sr55 WinGui: Tweak the auto-correction of selected encoder feature on the …
…audio panel so auto-passthru doesn't interfere with it.

git-svn-id: svn://localhost/HandBrake/trunk@4415 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 90bd29e
Commits on Jan 21, 2012
sr55 WinGui: Another fix to AutoPassthru functionality so that built-in pr…
…esets still get honoured correctly.

git-svn-id: svn://localhost/HandBrake/trunk@4416 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of c3f90a4
Commits on Jan 22, 2012
sr55 git-svn-id: svn://localhost/HandBrake/trunk@4417 b64f7644-9d1e-0410-9…
@HandBrake HandBrake Merge branch 'master' of eed0da3
sr55 WinGui: (WPF) Further work on the Audio and Subtitle tabs along with …
…the API & Utilities.

git-svn-id: svn://localhost/HandBrake/trunk@4418 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 15dd9d9
Commits on Jan 24, 2012
Rodeo MacGui: add Auto Passthru support.
By default, all available passthru codecs are allowed, and the fallback is the AC3 encoder.

Advanced settings can be enabled in Preferences > Audio, but are disabled by default.

git-svn-id: svn://localhost/HandBrake/trunk@4419 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 5b55273
Rodeo Fix crash in add_ffmpeg_attachment: the value for "filename" metadata…
… may be NULL, so we can't call strlen without checking.

Should fix and

git-svn-id: svn://localhost/HandBrake/trunk@4420 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 72a670a
Commits on Jan 25, 2012
Rodeo Vorbis: adjust default VBR quality after revision 4385.
git-svn-id: svn://localhost/HandBrake/trunk@4421 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of e4be611
Rodeo ca_aac: set minimum VBR quality to 1 instead of 0.
That way, (high-low)/granularity divides cleanly by 1.

Old qualities (low to high in increments of granularity):

{ 0, 9, 18, 27, 36, 45, 54, 63, 72, 81, 90, 99, 108, 117, 126 }

(the default, 91, is not in that list)

New qualities (low to high in increments of granularity):

{ 1, 10, 19, 28, 37, 46, 55, 64, 73, 82, 91 (default), 100, 109, 118, 127 }

Actual output is unchanged (ca_aac has quality ranges; a 1-point bump will not change the range for each quality).

git-svn-id: svn://localhost/HandBrake/trunk@4422 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 482c8e5
sr55 WinGui: Fix for the Encode Quality type mode not being set correctly.
git-svn-id: svn://localhost/HandBrake/trunk@4423 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 061464a
Commits on Jan 26, 2012
sr55 WinGui: Fix an issue where preset save changes was not working.
git-svn-id: svn://localhost/HandBrake/trunk@4424 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 8a98b30
Commits on Jan 29, 2012
sr55 WinGui: Fix an issue that was causing the CLI version to be queried o…
…n very launch, instead of only when the CLI executable changes.

git-svn-id: svn://localhost/HandBrake/trunk@4425 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 9e6e185
sr55 WinGui: Fix an issue with multi-instance queue recovery files not bei…
…ng cleared up properly.

git-svn-id: svn://localhost/HandBrake/trunk@4426 b64f7644-9d1e-0410-96f1-a4d463321fa5
@HandBrake HandBrake Merge branch 'master' of 67f7a26