summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump Libav to v0.8-2551-gc83f44d.Rodeo2012-07-302-10/+5
| | | | | | | | | | | | | | Fixes an issue in assembly code that could result in very poor performance when encoding with x264 & AC3 Passthru. Thanks to our John Stebbins for finding the cause of the bug, and to x264 & Libav developers for fixing it. Miscellaneous other fixes and improvements, including multichannel Apple Lossless audio decoding support. Also, clean up our Libav configure options (group things together, disable all hardware accelerations with one switch instead of individually, and disable building the unused avfilter library). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4883 b64f7644-9d1e-0410-96f1-a4d463321fa5
* work: simplify & optimize.Rodeo2012-07-291-47/+38
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4882 b64f7644-9d1e-0410-96f1-a4d463321fa5
* work: indentation and miscellaneous cosmetics.Rodeo2012-07-291-181/+182
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4881 b64f7644-9d1e-0410-96f1-a4d463321fa5
* work: don't sanitize output bitrate etc. for passthrough audio.Rodeo2012-07-291-11/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4880 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use HB_INVALID_AMIXDOWN and HB_AMIXDOWN_NONE where applicable.Rodeo2012-07-294-10/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4879 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Introduce a negative HB_INVALID_AMIXDOWN.Rodeo2012-07-272-1/+3
| | | | | | | | | | Having the audio->config.out.mixdown start at 0 caused it to be treated as usigned (under OS X at least), causing the sanitizing code in work.c to fail: line 820, (audio->config.out.mixdown <= 0) would evaluate as false, and so the best mixdown was being set instead of the default one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4878 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Couple more Picture Settings Tab bug fixes. Note: Still a few more ↵sr552012-07-251-1/+6
| | | | | | issues to work out here. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4877 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Don't set -X or -Y for the CLI Query. The UI handles Max Width / Height.sr552012-07-251-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4876 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxmkv: reset the output track configuration before adding each audio track, ↵Rodeo2012-07-241-3/+2
| | | | | | | | | | rather than just once before adding all audio tracks. Among other things, avoids having the HE-AAC outputSamplingFreq contaminate all following non-HE or non-AAC tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Couple UI tweaks and better text rendering throughout the app since ↵sr552012-07-237-10/+20
| | | | | | no-one complained yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4873 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix up the Audio Passthru selection options.sr552012-07-237-45/+172
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix a possible crash after scanning a source.sr552012-07-234-136/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Only log the input bitrate if it's valid; some decoders (e.g. TrueHD) set it ↵Rodeo2012-07-231-1/+7
| | | | | | | | | | | | to a dummy value of 1, resulting in: [05:15:24] * audio track 1 [05:15:24] + decoder: English (truehd) (5.1 ch) (track 1, id 0x1) [05:15:24] + bitrate: 0 kbps, samplerate: 48000 Hz git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4870 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix logging of container aspect in dvd.c and dvdnav.cjstebbins2012-07-222-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Move some stuff around in the services library and refactor out some ↵sr552012-07-2034-103/+74
| | | | | | legacy code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4868 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Array of fixes and changessr552012-07-2010-27/+199
| | | | | | | | - Change Font rendering to "Display" mode to see if folks prefer it. If not it can be reverted back. - Fixes to Queue Edit for the Audio/Subs panel. These should now populate correctly. - Thrown the Drive detector onto a background thread as it seems the windows drive management service can get "stuck" and block the app from starting while it waits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4867 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Enable threaded decoding for ProRes video sources.Rodeo2012-07-181-4/+1
| | | | | | | | | | The bug which was worked around by disabling threading has now been fixed in Libav, and I didn't find any issue when testing additional ProRes sources. Reference: https://forum.handbrake.fr/viewtopic.php?f=12&t=22599 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4866 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix deinterlace fast green stripejstebbins2012-07-182-12/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4865 b64f7644-9d1e-0410-96f1-a4d463321fa5
* More fine grained progress statistics during subtitle scanjstebbins2012-07-183-33/+94
| | | | | | | | Make reader compute subtitle scan progress based on timestamps seen and duration instead of chapter marks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4864 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix preset import of new frameratesjstebbins2012-07-172-7/+23
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4859 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove obsolete ubuntu lucid rulejstebbins2012-07-161-1/+0
| | | | | | | | Lucid was removed a while ago, but I missed the rule that pushes the now non-existent source package to the PPA build server. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4849 b64f7644-9d1e-0410-96f1-a4d463321fa5
* disable harfbuzz on libasssr552012-07-161-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4848 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Pushing version numbers forward for the main branch.sr552012-07-164-6/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4847 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_audio_remap: remove unneeded channel map.Rodeo2012-07-151-1/+0
| | | | | | | | I forgot part of it in the previous commit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4846 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_audio_remap: remove unneeded channel map.Rodeo2012-07-151-16/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4845 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use libav for dts audio decoding instead of libdca jstebbins2012-07-1518-1312/+22
| | | | | | | | | libdca has no advantage over libav for dts audio decoding. It doesn't do drc and it's downmix capabilities are actually inferior to libav. So this completely removes libdca from libhb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4844 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change a few more hb_log() calls to hb_error(), and some cosmetics.Rodeo2012-07-152-33/+35
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4840 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix something John and I both missed.Rodeo2012-07-151-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4839 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_audio_resample: libvaresample wrapper.Rodeo2012-07-155-331/+400
| | | | | | | | Avoids having code that's mostly identical in multiple files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4838 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decpgssub: simplify code (merge several if/else blocks).Rodeo2012-07-151-35/+27
| | | | | | | | Also, discard empty subtitles until we've seen the first non-empty sub, as they are not needed. This can happen when encoding from the middle of a source, for example. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4837 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Working drive tray insert/remove detection.sr552012-07-149-59/+148
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4829 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Improve the code behind the taskbar source menu. Note, The Disc ↵sr552012-07-135-125/+250
| | | | | | insert detection still isn't in place, so it will only show the initial available drives, it won't detect disc changes yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4828 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_audio_remap improvements.Rodeo2012-07-126-181/+268
| | | | | | | | | | This moves some logic outside of the decoders/encoders and into a single place. Encoders that do their own remapping (faac, vorbis) can still generate a remap table with hb_audio_remap_build_table(), without having to use hb_audio_remap(). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4827 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cleanup after last commit: delete empty files, rename some patches.Rodeo2012-07-117-0/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4826 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump libav to libav-v0.8-2197-g1a068bfjstebbins2012-07-1140-2445/+882
| | | | | | | | | | | | Resolves several deprecated api's Eliminates several libav patches Eliminates our builtin downmix in favour of avresample Eliminate HB_INPUT_CH_LAYOUT_* and replace with AV_CH_LAYOUT_* Resolves 6.x and 7.0 input channel layout issues HB had Adds downmix support to declpcm. We never had it! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4825 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix an issue where selecting the dvd drive in the source menu would ↵sr552012-07-111-7/+3
| | | | | | not allow the source to be encoded after scanning. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4824 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix hb_read_preview() when invalid index is passedjstebbins2012-07-111-0/+1
| | | | | | | Was returning last preview instead of NULL git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4823 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix problem reading previewjstebbins2012-07-101-2/+11
| | | | | | | | | The title "index" is not an index into list_title. It is a unique number assigned to each title in the list. So we must scan the list for a matching "index". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4822 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Initial work to restore queue editing functionality. (Note, it's not ↵sr552012-07-0824-132/+387
| | | | | | complete yet) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4821 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Add support for keyboard shortcuts. These are slightly different to ↵sr552012-07-085-1/+168
| | | | | | | | | | | | | | the old UI. See Below. // Start Encode (Ctrl+S) // Stop Encode (Ctrl+K) // Open Log Window (Ctrl+L) // Open Queue Window (Ctrl+Q) // Add to Queue (Ctrl+A) // Scan a File (Ctrl+F) // Scan a Folder (Ctrl+R) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4820 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Additional fixes for multi-instance.sr552012-07-075-62/+114
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4819 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fixes to allow for multi-instance to work again.sr552012-07-073-32/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4818 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Forgotten part of portability patchesjstebbins2012-07-072-0/+22
| | | | | | | | This should have been committed with 4717 Thanks to Rogério Theodoro de Brito and Pino Toscano for contributing git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4815 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix comb detection crash and decomb crashjstebbins2012-07-064-34/+20
| | | | | | | | | | | | | hb_detect_comb() could crash because the dimensions of the video buffer don't have to match the dimensions returned by work object info() method if the video has segments of differeing resolutions. decomb was allocating reference buffers that were too small. This bug appears to have always existed but doesn't usually get triggered because malloc usually rounds allocation sizes up. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix for Chapter markers starting at the wrong point. sr552012-07-061-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4811 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix live preview crash when generating preview while encodingjstebbins2012-07-031-11/+12
| | | | | | | GetFifoForId() was not re-entrant (it used a static array). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4809 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix unused variable warningjstebbins2012-07-021-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4806 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: sync with iPad preset changesjstebbins2012-07-021-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4805 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix comparison (check if unsigned type is < 0). Not sure why I keep doing this.Rodeo2012-07-021-5/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4804 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix crop detectionjstebbins2012-06-301-17/+18
| | | | | | | It wasn't accounting for stride that is greater than width git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4803 b64f7644-9d1e-0410-96f1-a4d463321fa5