summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* WinGui: Usability Improvements on the Audio and Subtitle tabs.sr552011-07-318-114/+269
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4145 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix an avcodec error checkjstebbins2011-07-301-1/+1
| | | | | | | They changed the error value returned git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4144 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Small fix to Max Width and Height settings from presets. Presets ↵sr552011-07-281-5/+3
| | | | | | without both Max width and height set may have a problem when changing source and may not always obey the max width or height. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4143 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Widen the encoding progress bar to fit the widened main window ... duh.dynaflash2011-07-281-45/+1017
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4142 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix or simplify several hacks involved with Libav supportjstebbins2011-07-2712-1033/+612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For files that are demuxed by Libav, we must share the format context with the decoder iso that it can obtain the codec context for each stream. The code that did this was very convoluted and difficult to understand. It is simplified by simply passing the context in hb_title_t. Reader was closing stream files before the decoder was finished with the context. This created the need to delay the actual close and cache the context. Changed reader so it behaves more like the rest of handbrake's work objects which lets us explicitly close after the decoders are finished. Libav does some probing of the file when av_find_stream_info is called. This probing leaves the format context in a bad state for some files and causes subsequent reads or seeks to misbehave. So open 2 contexts in ffmpeg_open. One is used only for probing, and the other only for reading. decavcodec.c had 2 separate decoders for files demuxed by hb and files demuxed by Libav. They have been combined and simplified. Previously, it was not possible to decode one source audio track multiple times in order to fan it out to multiple output tracks if the file is demuxed by Libav. We were using the codec context from the format context. Since there is only one of these for each stream, we could only do one decode for each stream. Use avcodec_copy_context to make copies of the codec context and allow multiple decodes. This allows removal of a lot of special case code for Libav streams that was necessary to duplicate the output of the decoder. Patch Libav's mkv demux to fix a seek problem. This has been pushed upstreams, so the next time we update Libav, we must remove this patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4141 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Min Duration now uses Seconds rather than ticks.sr552011-07-241-2/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4140 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Increase the max number on the Min scan length numeric control. sr552011-07-241-10/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4139 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add DTS-HD and DRC to HandBrakeInterop. Update libhb audio structures. Fix ↵randomengy2011-07-2414-40/+64
| | | | | | test project build failures. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4138 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Improvements and bug fixes to the installer, including better ↵sr552011-07-246-7/+720
| | | | | | support for the 64bit version. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4137 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: work around stupid GtkFileChooser bugjstebbins2011-07-241-0/+9
| | | | | | | | | If hidden files are being displayed AND there is no filter attached to the file chooser, the chooser will never highlight the file that get set using gtk_file_chooser_set_filename git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4136 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Add support for Minimum Duration setting for scans.sr552011-07-249-170/+227
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4135 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update built-in presets and manicure to use mixdown "None" for passthrujstebbins2011-07-243-12/+36
| | | | | | | Thanks to Rodeo for patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4134 b64f7644-9d1e-0410-96f1-a4d463321fa5
* a52dec: silence pointless deca52 message (no accelerated IMDCT)jstebbins2011-07-241-0/+11
| | | | | | | Thanks to Rodeo for patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4133 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Core Audio encoders: use hb_layout_remap instead of Apple's remapping functionsjstebbins2011-07-241-27/+39
| | | | | | | | | | | | | Apple's AudioConverterSetProperty function fails to set the kAudioConverterChannelMap under OS X 10.7 Lion. In order to avoid having to special-case and having to track whether or not the bug gets fixed, this patch just uses our hb_remap_layout function to do the remapping instead. Thanks to Rodeo for the patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4132 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: encavcodecaudio improvementsjstebbins2011-07-242-65/+11
| | | | | | | | | | | | | Compute the output layout once in encavcodecaInit and store it in a member of the hb_encavcodeca work object. Fix the channel mapping of ffaac in our code rather than applying a patch to Libav. The Libav AAC encoder is bound to see a certain amount of commit activity since it needs to be improved. A patch affecting the AAC encoder is bound to break regularly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4131 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Tooltip fix by Vendolissr552011-07-241-2/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4130 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update CLI and LinGUI presets, patch by Rodeosr552011-07-242-149/+134
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4129 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Tweak the new audio panel options pane to give it a cleaner ↵sr552011-07-233-670/+307
| | | | | | appearance and simplify the code a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4128 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Auto Selection of Audio and Subtitles - Patch by vendolis (Thanks!)sr552011-07-2315-221/+1304
| | | | | | | | Adds finer grained control of the Automatic Audio and Subtitle selection feature. Adds the ability to select multiple languages. https://reviews.handbrake.fr/r/158/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4127 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remvoe 2 Legacy presets and add 2 new Android presets for mid and high end ↵sr552011-07-222-182/+175
| | | | | | devices git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4126 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Repair the x64 build.sr552011-07-213-29/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4125 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: use "AC3 (ffmpeg)" to designate the ffac3 encoder (for consistency).dynaflash2011-07-192-2/+7
| | | | | | | | | - Patch by Rodeo - This patch switches the codec name from "AC3" to "AC3 (ffmpeg)" for consistency. - Backwards-compatibility with old presets is handled by mapping "AC3" to "AC3 (ffmpeg)" when loading a preset. - Referenced here https://reviews.handbrake.fr/r/155/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4124 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix access outside allocated memory regionjstebbins2011-07-191-19/+25
| | | | | | | | | In some cases we could access memory outside the memory buffer we allocate for TS packets. This didn't cause any known crashes, but it could possibly lead to a crash. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4123 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: plug a few memory leaksjstebbins2011-07-197-16/+72
| | | | | | | Noticed when debugging a memory corruption issue with valgrind git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4122 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Consolidate passthrough mixdowns.dynaflash2011-07-194-26/+24
| | | | | | | | | | - There's no need for one passthrough mixdown per passthrough codec. - When using passthru, mixdown is set to "None". - Patch by Rodeo ... Thanks! - Fix a bug where we would sometimes attempt to modify a non-mutable NSDictionary, causing a crash. - Fix by blindjimmy ... Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4121 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix "Set Default" preset option.sr552011-07-183-16/+37
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4120 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add the cpu architecture to the Windows CLI zip packages.sr552011-07-171-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4119 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Add support for x64 to the build script.sr552011-07-171-5/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4118 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Setup a simple msbuild configuration and simplified the project ↵sr552011-07-175-134/+64
| | | | | | build targets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4117 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Another build fix.sr552011-07-163-4/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4116 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Another attempt at sorting the build.sr552011-07-164-125/+24
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4115 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Another set of build fixessr552011-07-163-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4114 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: add --audio-copy-mask and --audio-fallback optionsjstebbins2011-07-161-11/+76
| | | | | | | | | | | --audio-copy-mask sets which audio codecs are permitted to be passed thru when the "copy" encoder option is specified. --audio-fallback sets which encoder to use when it is not possible to pass thru an input audio track git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4113 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Build fixes.sr552011-07-164-11/+68
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4112 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Some fixes to the Queue Current encoding information display and ↵sr552011-07-1612-40/+41
| | | | | | removal of another duplicate model. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4111 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Another duplicate model removed.sr552011-07-167-34/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4110 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Starting to remove model objects from the Application Services ↵sr552011-07-1616-228/+64
| | | | | | module that are duplicated in the Interop Library git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4109 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: add backwards compatible "AC3" translation for audio encoder valuejstebbins2011-07-161-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4108 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Switch from using the Interop binary lib, to the source version ↵sr552011-07-166-48/+51
| | | | | | which is now part of the project. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4107 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: add some preset translations that I missedjstebbins2011-07-161-0/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4106 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Missed one.sr552011-07-141-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4105 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix issues with Analyse x264 option.sr552011-07-143-10/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4104 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable debuggin when debug=max and disable optimizations when ↵jstebbins2011-07-117-34/+51
| | | | | | | | | | optimizations=none except for ffmpeg on darwin i386 which fails to build when optimizations are disabled due to gcc running out of registers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4103 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix a couple small memory leaksjstebbins2011-07-111-3/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4102 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable a52dec debugging when debug=maxjstebbins2011-07-111-0/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4101 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: dvdread and dvdnav, allow disabling optimizations with debug disabledjstebbins2011-07-112-0/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4100 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: fix configure to define GCC.O before including main.defsjstebbins2011-07-112-3/+5
| | | | | | | This is needed so that contrib makefiles can see it's value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4099 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable ffmpeg debug when debug=max is setjstebbins2011-07-111-0/+10
| | | | | | | and disable ffmpeg optimizations if optimize=none is set git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4098 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable dvdread and dvdnav debugging when debug=max is configuredjstebbins2011-07-112-0/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4097 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: improve dvdnav main feature detectionjstebbins2011-07-101-106/+145
| | | | | | | | | Add detection of fake menus. Some menus have very short duration and/or are hidden from the user by making the hightlight transparent. These menus can lead to invalid titles if traversed, so ignore them. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4096 b64f7644-9d1e-0410-96f1-a4d463321fa5