summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bump ffmpeg to svn 20817jstebbins2009-12-142-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3028 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix crash with vobsub passthrujstebbins2009-12-131-1/+3
| | | | | | | | the last subtitle buffer was getting added to the buffer pool twice and ultimately freed twice. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3027 b64f7644-9d1e-0410-96f1-a4d463321fa5
* documentation: Update linux distributions supported and dependenciesjstebbins2009-12-112-18/+37
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3026 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump to r1373-4322f63dynaflash2009-12-111-1/+1
| | | | | | | - Some lookahead optimizations - Fixes some bugs introduced in r1369 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3025 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue with subtitle changes affecting all encodes in the queue ↵dynaflash2009-12-103-4/+4
| | | | | | | | by being less stupid. - Thanks to Rodeo for bringing it to my attention. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3024 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Only display mux stats oncejstebbins2009-12-101-42/+42
| | | | | | | | Close prints mux stats and gets called for each stream. So only print the stats when the last stream is closed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3023 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix dvdnav read error retry jstebbins2009-12-101-1/+1
| | | | | | | | | the error count was being reset on dvdnav events that didn't involve any actual reading. So we got caught in an very long loop alternating between read failures and valid events. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3022 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove b-pyramid/mbtree dependencyjstebbins2009-12-092-6/+0
| | | | | | | b-pyramid is now allowed with mbtree git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3021 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Avert a rare race condition.jstebbins2009-12-091-5/+6
| | | | | | | | | | | | | | | | | A bad source can cause reader to call hb_stream_close before decavcodecviWork ever starts. This causes hb_ffmpeg_context to access an invalid pointer. So move the call to hb_ffmpeg_context to after we check for a 0 length buffer in decavcodecvoiWork since reader will have sent this to signal that it has reached the end of the stream. This does not eliminate the race condition, but it does make it much less likely to happen and fixes the specific case where we found this occuring. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Disables chapter markers when there is only one chapter. Most interfaces ↵jbrjake2009-12-091-0/+6
| | | | | | already do this, but now they have no choice. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3019 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removes obsolete check for mbtree being off before adjusting render offsets ↵jbrjake2009-12-091-3/+3
| | | | | | for b-pyramid. Also corrects a bit of coding style. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3018 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump to 1369-ec8e586dynaflash2009-12-091-1/+1
| | | | | | | | | - Introduces mbtree + bpyramid - Brings back slice-based threading support - Many other enhancements and fixes - http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=ec8e58637b97edaea00f022e11d15ee8a81466ab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3017 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix buffer leak during indepth scan jstebbins2009-12-083-0/+23
| | | | | | | and fix a couple potential leaks if the timing is just right in work loops git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3016 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Faster combing detection through slightly less stupid use of pointers. Also ↵jbrjake2009-12-081-68/+61
| | | | | | realigns boundary points for the combing mask checker to match what the code actually does. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3015 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removes references to outdated codecs and variables, updates for new filter ↵jbrjake2009-12-081-76/+63
| | | | | | value orders and the lack of subtitle keys in new presets, and adds better deblock support along with a stub for custom ana support. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3014 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use the correct render offset when b-pyramid is enabled in the x264 ↵jbrjake2009-12-081-39/+24
| | | | | | parameter string but is being disabled inside libx264 due to mb-tree. Thanks, Rodeo, and good catch! Also adds a logging message to note weight-p being disabled in bframeless encodes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3013 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-081-20/+53
| | | | | | - Added some code to recover from corrupted preset files. This will hopefully fix at least 1 cause of the CLR20r3 .NET error git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3012 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix detection of forced subtitles during foreign audio searchjstebbins2009-12-071-1/+1
| | | | | | | | | | reader drops all buffers till it finds video or audio. but since video and audio fifos are null when indepth_scan is set, we never see video or audio. Solution is to not drop buffers in indepth scan mode git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3011 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix a double free of an hb_buffer in syncjstebbins2009-12-061-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3010 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-061-1/+4
| | | | | | - Make SourceName a bit smarter when dealing with autonaming and folders. If Video_TS folder is the selected source, autoname will now use the upper level folder name instead. (thanks slaingod) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3009 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-061-1/+2
| | | | | | - Fix a compile time error. (Thanks slaingod) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3008 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reduce the amount of buffering used and eliminate hb_snooze in the encoding ↵jstebbins2009-12-0511-1049/+1396
| | | | | | | | | | | | | | | | | | | | | | pipeline For HD sources on an 8 core system with hyperthreading, we were using 1.5GB of ram. Add to that the 600MB x264 uses for rc-lookahead, pushes it north of 2GB. To reduce our memory usage, the fifo depths have been reduced are are no longer a multiple of cpu count. Use of hb_snooze has been eliminated in the encoding pipeline so that performance doesn't fall as a result of the reduced fifo depths. In sync, each audio and video were given separate threads so that each can wait on it's respective input fifo without blocking the others. In muxcommon, each stream being muxed was given a separate thread so that each can wait on it's respective fifo. This allows the removal of hb_snooze in the sync and muxer work loops. In both sync and muxer, there is common data that is shared by all threads, so special init routines allocate this shared data and initialize the threads. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3007 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-056-108/+135
| | | | | | - Some improvements to error messages, about window, minor code style fixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3006 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix mbtree x264 option sanitizerjstebbins2009-12-041-8/+1
| | | | | | | forgot to remove the code that set the default to 0 when there are b-frames git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3005 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-041-5/+15
| | | | | | - Hidden feature: Allow user presets to be categorised if they are manually editing the user_presets.xml git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3004 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-041-0/+1
| | | | | | | - Make sure a default preview is selected on the preview window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3003 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-041-105/+104
| | | | | | - Fix a few tooltips in options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3002 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-047-96/+117
| | | | | | - Implement new option: "--previews" allowing a range of 10 to 30 to be selected on the preview window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3001 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-033-87/+63
| | | | | | - Some minor code refactoring git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: sr552009-12-031-5/+4
| | | | | | - Prevent the Download window from collapsing in on itself. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2999 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-021-10/+13
| | | | | | - Make sure the Activity window resets correctly on action or source change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2998 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-021-48/+24
| | | | | | - 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. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2997 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a mingw compile issuejstebbins2009-12-021-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-012-91/+92
| | | | | | - Something got a but nuked with regards to images in the last checkin. Fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2995 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-306-96/+114
| | | | | | - Few UI usability tweaks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2994 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-302-11/+33
| | | | | | | - ActivityWindow Make sure the correct log is selected (Last action: scan or encode) - Make closing the window more responsive. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2993 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: set property in file chooser that allows opening "non-local" filesjstebbins2009-11-301-0/+3
| | | | | | | non-local is anything mounted transparently by gvfs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2992 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-292-3/+21
| | | | | | | - 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. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2991 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-282-5/+14
| | | | | | - Cleanly close the ActivityWindow so that HandBrake.exe does not remain active after the main application window has been closed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2990 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-282-16/+38
| | | | | | - Some updates / fixes to the new Activity Window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2989 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix another MTR feature title extraction issuejstebbins2009-11-271-7/+54
| | | | | | | | jump instructions to titles which were removed by MTR caused asserts. now such jump instructions just transition to the Exit state. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2988 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix ffmpeg build on osx i386jstebbins2009-11-271-0/+20
| | | | | | | | | | | | | 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. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2987 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-261-0/+111
| | | | | | - Scan.cs was missing from a previous checkin git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2986 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix audio sync problem for AAC (or any other mpeg PS or TS audio decoded by ↵van2009-11-261-66/+31
| | | | | | 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. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2985 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix vlc detection so that "Scan Anyway" works correctly ... patch by ↵dynaflash2009-11-261-4/+6
| | | | | | j45. Thanks John! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2984 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-257-298/+224
| | | | | | | | - 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. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2983 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix title index issue in batch scanningjstebbins2009-11-252-4/+6
| | | | | | | | | 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. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2982 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-256-129/+324
| | | | | | | - Batch Scan Support. - Export.cs - Export Mac Preset (unfinished and not hooked up right now. Just checking it in so I don't lose it.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2981 b64f7644-9d1e-0410-96f1-a4d463321fa5
* batch file scanning and scan canceljstebbins2009-11-2523-82/+567
| | | | | | | | | | 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. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2980 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump ffmpeg to r20602jstebbins2009-11-257-294/+257
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2979 b64f7644-9d1e-0410-96f1-a4d463321fa5