sr55 [Wed, 2 Dec 2009 13:33:39 +0000 (13:33 +0000)]
WinGui:
- Re-enabled UNC path support in the GUI. Seems the switch to MinGW enabled UNC paths to work correctly. Note: This is not supported for CygWin users.
sr55 [Sun, 29 Nov 2009 19:32:16 +0000 (19:32 +0000)]
WinGui:
- Preview window: Check the x86 program files directory for VLC if VLC doesn't exist in the main program files directory.
- Activate the Activity Window when the button is clicked on.
jstebbins [Fri, 27 Nov 2009 20:27:07 +0000 (20:27 +0000)]
fix another MTR feature title extraction issue
jump instructions to titles which were removed by MTR caused asserts.
now such jump instructions just transition to the Exit state.
jstebbins [Fri, 27 Nov 2009 20:24:26 +0000 (20:24 +0000)]
fix ffmpeg build on osx i386
gcc 4.2 on osx defines the built-in macro __PIC__ which ffmpeg's configure
uses to determine if it should enable pic. Enabling pic uses extra
registers which causes some inline asm to fail due to lack of available
registers.
I disabled the normal check and forced pic enabled for x86_64 since it
requires it.
van [Thu, 26 Nov 2009 10:08:55 +0000 (10:08 +0000)]
Fix audio sync problem for AAC (or any other mpeg PS or TS audio decoded by decavcodec) with a sample rate other than 48KHz. This problem had already been fixed for decavcodecai (the 'internal' ffmpeg audio decoder that handles all input files but mpeg streams) so decavcodec was just changed to use the same logic.
sr55 [Wed, 25 Nov 2009 22:59:39 +0000 (22:59 +0000)]
WinGui:
- Large performance improvements in the Activity Window when working with large log files. This should make the window less laggy when using batch folder scan.
- New scan process handling code which pipes the data direct into the application. GUI now displays "Scanning title x of x" to give the user feedback on the process.
jstebbins [Wed, 25 Nov 2009 21:54:06 +0000 (21:54 +0000)]
fix title index issue in batch scanning
title index was assigned as the nth file in the directory, but files
that are not video would cause title indexes to be skipped in job.list_title
this would mess up the progress bar.
jstebbins [Wed, 25 Nov 2009 21:14:44 +0000 (21:14 +0000)]
batch file scanning and scan cancel
When a directory is specified as the source, first we attempt to open as a dvd,
then if that fails, we attempt to open each file in the directory as a stream
source. Since opening a large directory of files can take a really long time,
you can also now cancel a scan.
jstebbins [Wed, 25 Nov 2009 19:25:21 +0000 (19:25 +0000)]
MacGui: fix crash caused by ffmpeg initialization problem
some of ffmpegs mmx functions rely on a flag being initialized
This gets initialized by ffmpeg encoder/decoder initialization, but
the preview is using ffmpeg functions before any encoder/decoder is initialized
jstebbins [Wed, 25 Nov 2009 03:22:00 +0000 (03:22 +0000)]
build system: fix root of source tarball
root was './' which could overwrite uid, gid, and perm of the users
current working directory. The root is now 'HandBrake-$(HB.version)/'
eddyg [Tue, 24 Nov 2009 23:16:27 +0000 (23:16 +0000)]
Rate limit hb_error() messages to at most 1 message per second of the same message. Repeats will be counted and presented as a count when 1 second has elapsed since the first error of a sequence, or an error message with a different string.
Also modified dvdnav to use hb_error() to take advantage of the limiting.
This works around a real bug from dvdnav where the Mac GUI becomes unresponsive during the output of large numbers of errors.
dynaflash [Sun, 22 Nov 2009 06:20:01 +0000 (06:20 +0000)]
MacGui: Add check for audio == null for > 1 audio track to prevent crash for > 1 audio tracks and sources with no decodable audio.
- Thanks to BradleyS for bug report.
- Thanks to J45 for sussing the issue.
- Addresses http://forum.handbrake.fr/viewtopic.php?f=12&t=13149
jstebbins [Sat, 21 Nov 2009 23:52:50 +0000 (23:52 +0000)]
LinGui: fix problem with loading preset that has deinterlace enabled
setting a radio box to false doesn't automatically set it's
counterpart to true. Must explicitly enable deinterlace when decomb is false
dynaflash [Sat, 21 Nov 2009 17:13:50 +0000 (17:13 +0000)]
MacGui: Trigger "Open Source Title Specific" if the option key is held down when clicking "Open" in the source browse window.
- This has the same effect as choosing Open Source Title Specific from the file menu, which still exists.
jstebbins [Fri, 20 Nov 2009 16:14:07 +0000 (16:14 +0000)]
LinGui: make subtitle burned and default checkboxes mutually exclusive
"default" doesn't really apply to burned in subtitles so it shouldn't
be checked when burned.
dynaflash [Wed, 18 Nov 2009 20:34:05 +0000 (20:34 +0000)]
MacGui: Remove vestigial conditional which did not allow loose anamorphic if the ffmpeg video encoder was used.
- Patch by Rodeo. Thanks Rodeo!
- Addresses http://forum.handbrake.fr/viewtopic.php?f=4&t=13117
dynaflash [Wed, 18 Nov 2009 20:27:18 +0000 (20:27 +0000)]
MacGui: change the min and max bitrate for faac six channel discrete encodes.
- Patch by Rodeo so its his fault. ;)
- Addresses http://forum.handbrake.fr/viewtopic.php?f=4&t=13114
jstebbins [Mon, 16 Nov 2009 19:32:49 +0000 (19:32 +0000)]
a better patch for handling MTR missing menu scenario
The previous method was not very robust and we found corner cases that broke.
This new method explicitly checks for the existance of a menu whenever
the vm attempts to transition to a menu. If there is no menu, it enters
the Exit state.
sr55 [Sat, 14 Nov 2009 18:44:12 +0000 (18:44 +0000)]
WinGui:
- Fixed: Chapter Markers were being disabled for VIDEO_TS directories when the folder above the VIDEO_TS folder was being used as the source path.
jstebbins [Fri, 13 Nov 2009 19:40:58 +0000 (19:40 +0000)]
fix lockup in reader when importing srt's
The subitle id for srt's was not being set. This caused the reader to
mistakenly select the subtitle's fifo when processing audio data and
stuff audio into it, filling it very rapidly. Sync would not
remove items from the subtitle fifo because the corresponding video timestamp
hadn't arrived yet. And since reader was waiting on a full subtitle fifo,
no more video would ever arive at sync.
jstebbins [Fri, 13 Nov 2009 19:02:25 +0000 (19:02 +0000)]
handle duplicate language units and pgc's more gracefully
some discs have large numbers of repeated language units and pgc's that
cause memory consumption and file i/o issues. detect such repeats and
ref-count the data structures to avoid reading and storing duplicate info.
jstebbins [Mon, 9 Nov 2009 18:02:37 +0000 (18:02 +0000)]
fix an off-by-one error in assignment of audio stream registration descriptor
format. This sometimes caused the misdetection of TrueHD audio since it
would be tagged as the format of the stream following it in the PMT.
Also fix a problem in PMT parsing that I stumbled upon while investigating
the above problem. If a PMT has a PID listed more than once for some reason,
we would add that PID multiple times to our stream list. And if it happened
to be a video PID that is duplicated, the duplications would be interpreted
as audio PIDs.
jstebbins [Thu, 5 Nov 2009 22:50:06 +0000 (22:50 +0000)]
possible fix for WDTV vobsub duration problem
There were 2 problems
1. The duration was not being written to the mkv track. Other players use
the timestamps in the vobsub. WDTV appears to use the duration in the mkv.
2. The vobsub timestamps were being rewritten improperly in sync.c. They
don't need to be rewritten at all.
dynaflash [Thu, 5 Nov 2009 21:40:26 +0000 (21:40 +0000)]
MacGui: Make sure that drc is set to 0 by default (not just in the built in presets). Patch by Rodeo.
- Update the queue readout to only display "Off" for drc when the drc is 0.0 instead of 1.0 ( our previous off ).
dynaflash [Mon, 2 Nov 2009 17:35:54 +0000 (17:35 +0000)]
MacGui: Fix the RF and QP labels in the constant quality slider when switching between video encoders. Patch by Rodeo.
- http://forum.handbrake.fr/viewtopic.php?f=4&t=12838