summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - fix issue:konablend2012-09-213-13/+9
| | | | | | | | | | | | | | abort() called *** Terminating app due to uncaught exception 'NSInvalidArgumentException' reason: '*** -blueComponent not defined for the NSColor NSCustomColorSpace Generic RGB colorspace 0.5 0.5 0.5 1; need to first convert colorspace.' - remove superfluous color conversions; according to NSGradient docs, any needed colorspace conversions of params are automatic - use [NSColor colorWithAlphaComponent] to force alpha - change [NSColor colorWithSRGBRed] to [NSColor colorWithDeviceRed] for 10.6 API compatibilty - [cosmetic] rename parm withEndColor -> endColor - [leak] release NSGradient git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4972 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Adding missing file from previous checkin.randomengy2012-09-211-0/+53
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4971 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decpgssub: avoid dropping subtitles when we get broken timestamps.Rodeo2012-09-201-9/+24
| | | | | | | | Instead, use a default PTS difference of 3 seconds. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4970 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Bring up to speed with libhb. Exposes more functions, accommodates ↵randomengy2012-09-2016-279/+284
| | | | | | channel layout and filter changes and allows setting CFR same as source. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4969 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: increase dock icon ETA badge's refresh rate from 0.5 to 0.1%.Rodeo2012-09-181-1/+1
| | | | | | | | Even with fast encoding settings, the previous value was a bit slow for full-length encodes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4968 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Objective-C/cosmetics.Rodeo2012-09-161-5/+5
| | | | | | | | Apologies if I break anything. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4967 b64f7644-9d1e-0410-96f1-a4d463321fa5
* deca52: ignore mix levels when dowmixing to Lt/Rt.Rodeo2012-09-161-3/+14
| | | | | | | | This matches liba52's built-in downmix code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4966 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_audio_resample: remove unnecessary check.Rodeo2012-09-161-2/+1
| | | | | | | | | | Not sure why I thought this was needed. Apologies if I break anything. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4965 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New dock icon progess behavior with percent & ETA "badges".dynaflash2012-09-155-78/+162
| | | | | | | - Patch by Jerome Lacube Thanks !! - Details can be found here https://reviews.handbrake.fr/r/344/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4964 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix a collection of small memory leaksjstebbins2012-09-139-12/+39
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4963 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Revert temporary code that silences valgrind warningsjstebbins2012-09-121-2/+0
| | | | | | | | memsets silence silly valgrind warnings, but we don't want them in "production" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4962 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix potential invalid memory access in decomb (again)jstebbins2012-09-122-6/+17
| | | | | | | | I missed a spot where an even wider left/right margin is needed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4961 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix potential invalid memory access in decombjstebbins2012-09-121-50/+44
| | | | | | | | | YADIF_CHECK in MODE_CUBIC touches pixels -3 and +3 from the current position. We had a conditional to bypass this check if we were 2 away from left or right edges which was insuffecient for this mode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4960 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Couple fixes to Pictures settings and add presets.sr552012-09-113-53/+48
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4959 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Missing comma with "Greek, Modern"sr552012-09-111-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4958 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: learn to spell "dilate"jstebbins2012-09-111-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4957 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix logs for decomb threadsjstebbins2012-09-111-3/+3
| | | | | | | | Several threads used the exact same log message when starting which is confusing. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4956 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_apply_h264_level: return 1 in case of warnings and make return values > 0 ↵Rodeo2012-09-111-11/+28
| | | | | | | | | | non-fatal. This could be used by a GUI to remove incompatible levels from a drop-down, for example. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4955 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_apply_h264_level: add a parameter to silence warnings.Rodeo2012-09-112-28/+36
| | | | | | | | This can be used to avoid log pollution when e.g. using an x264 unparse function. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4954 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Revert a part of revision 4950 which was not in the ReviewBoard patch.Rodeo2012-09-111-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4953 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: handle overlapping timestamps betterjstebbins2012-09-111-0/+8
| | | | | | | | | This shouldn't happen except in the case of bad sources or an hb bug. But if encountered, it provoked a feedback loop of frame dropping and duplication where there should have been a single frame drop. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4952 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Fix error when setting timestamps for bobbed frames in decombjstebbins2012-09-111-14/+6
| | | | | | | | is_combed flag was not getting updated, so the timestamp recalculation was skipped even though 2 frames were output. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4951 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove contrib/ffmpeg/A02-png-sequences.patch.konablend2012-09-103-44/+24
| | | | | | | | | | | | | Set AVPacket flags indicating key-frame for avcodec_decode_video2() call. Specifically, libav documentation states: * @param[in] avpkt The input AVpacket containing the input buffer. * You can create such packet with av_init_packet() and by then setting * data and size, some decoders might in addition need other fields like * flags&AV_PKT_FLAG_KEY. All decoders are designed to use the least * fields possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4950 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Disable format specification generation when building libtheora.Rodeo2012-09-101-0/+1
| | | | | | | | | | Fixes cross-compile failure on hosts with pdfLaTeX, BibTeX and TransFig installed. Patch by Arthur Liu. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Testing IRC BOTsr552012-09-091-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4948 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Update a broken Property Changed notification in the AudioTrack modelsr552012-09-091-12/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4947 b64f7644-9d1e-0410-96f1-a4d463321fa5
* encx264: make hb_x264_encopt_synonyms two-dimensional instead of faking it.Rodeo2012-09-092-25/+25
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4946 b64f7644-9d1e-0410-96f1-a4d463321fa5
* encx264: use less generic names for some stuff.Rodeo2012-09-092-11/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4945 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_apply_h264_level() update & cleanup.Rodeo2012-09-092-120/+146
| | | | | | | | | | The caller may specify any width & height now, rather than having to initialize the x264_param_t's fields directly. Since it's reasonable to expect GUIs to only provide valid levels (if it doesn't, there's a bug that needs fixing), it's OK to abort when the requested level is not valid. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4944 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update the fmac scalar patch. Instead of a workaround, apply the fix from ↵Rodeo2012-09-081-20/+20
| | | | | | Libav, so that the patch can be dropped on the next bump. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4943 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove mingw+libmkv dependency on libiberty.konablend2012-09-084-10/+14
| | | | | | | | Remove mingw+test dependency on libiberty. Add build system support for propagating compiler DEFINES to contrib configure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4942 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Couple Corrections to the Audiobitrate converter.sr552012-09-083-14/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4941 b64f7644-9d1e-0410-96f1-a4d463321fa5
* A patch for mpeg2 SetWindowLong() and GWL_USERDATA do not exist in recent ↵sr552012-09-081-0/+39
| | | | | | versions of mingw-w64. Since we don't output to the display anyway, I've just disabled the code so things build. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4940 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Hide the Debug Menu behind an option.sr552012-09-086-2/+50
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4939 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Implement hb_get_audio_bitrate_limits() in the Windows UI to provide ↵sr552012-09-083-39/+177
| | | | | | only valid bitrate options. Also disabled the bitrate selection control for flac. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4938 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Updated the Bitrate Converted to be a bit more intelligent about ↵sr552012-09-072-4/+70
| | | | | | it's bitrate selection. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4937 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Make sure new Mixdowns get appropriate bitrate selections for aacsr552012-09-072-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4936 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Add new sample rates, 8, 11.025, 12 and 16 as optionssr552012-09-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4935 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Add support for new Mixdowns (6.1, 7.1, 7.1 (5F/2R/LFE), Mono left ↵sr552012-09-074-11/+52
| | | | | | only, Mono Right only). Please note this will break any presets that currently have 6ch (aka 5.1 or 6 Channels Discrete) Presets must be re-created. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4934 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add autotools { autoconf, automake, libtool } as contribs.konablend2012-09-0711-13/+58
| | | | | | | | | | | | | | | | | | | Primarily necessary for OSX platform after Xcode 4.2.x, but also useful for any platform which is missing or has obsolete versions. 1. add configure option: --enable-local-autotools 2. --enable-local-autotools is automatically TRUE when any of { autoconf, automake, libtool } are not found in path. 3. --enable-local-autotools causes contribs of { m4, autoconf, automake, lib tool } to be built 4. add m4 to contrib (prerequisite for autoconf) 5. add autoconf to contrib (prerequisite for automaker and many contribs) 6. add automake to contrib (prerequisite for many contribs) 7. add libtool to contrib (prerequisite for many contribs) 8. All contribs (except the autotools themselves) automatically mark autotools as a prerequisite. 9. $(AUTOTOOL_MODULES) is available if other non-contrib modules need to mark as prerequisite. 10. PATH is automatically prefixed with contrib/bin for all modules, all targets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4933 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update Libav -> HandBrake colorimetry translation after ↵Rodeo2012-09-071-8/+10
| | | | | | http://git.libav.org/?p=libav.git;a=commit;h=ca93f0fa361c302e60455c5b82f88422ab66f589 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4932 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove redundant patch. It's been superseded by ↵Rodeo2012-09-071-16/+0
| | | | | | http://git.libav.org/?p=libav.git;a=commit;h=14f063d294a18a31928d2167a66b1087910e14c8 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4931 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Audio improvements.Rodeo2012-09-0319-514/+1469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New supported samplerates: 8, 11.025, 12, 16 kHz. Now 8, 11.025, 12, 16, 22.05, 24, 42, 44.1, 48 Khz are supported. Unsupported samplerates are sanitized to the closest samplerate for all encoders. Samplerates < 32 kHz are now forbidden for AC3 encoding (sanitized to 32 kHz). Most AC3 decoders don't support such samplerates. New upmixing: 3.0 (Front Left, Right & Center) can now be upmixed to 5.1 to preserve the center channel. New mixdowns: 6.1 (Front Left, Right & Center, Surround Left, Right & Center, LFE) 7.1 (Front Left, Right & Center, Surround Left & Right, Rear Left & Right, LFE) -> available to Vorbis & FLAC encoders for compatible input channel layouts 7.1 (Front Left, Right & Center, Front Left & Right of Center, Surround Left & Right, LFE) -> available to AAC encoders (ca_aac, ca_haac, faac) for compatible input channel layouts Mono (Left Only): Stereo to Mono by discarding the Right channel Mono (Right Only): Stereo to Mono by discarding the Left channel -> available to all encoders for non-Dolby Stereo input The "6-channel discrete" mixdown becomes "5.1 Channels". New bitrates: 960 - 1536 Kbps. This lets users work around poor audio quality in crappy encoders by throwing more bits at them. Bitrate limits have been re-worked and re-tested for all encoders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4930 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Further work and fixes on the Process Isolation Servicesr552012-09-027-22/+52
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4929 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix preview window.sr552012-09-021-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4928 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Further work in the process isolation service.sr552012-09-0112-26/+158
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4927 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix culture issue with the framerate. Any non round number selection ↵sr552012-09-012-2/+2
| | | | | | would fail. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4926 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Only allow 1 instance of the Queue, About, Log and Preview window to ↵sr552012-09-011-6/+42
| | | | | | be opened. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4925 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI help: generate the list of available audio mixdowns, rather than naving ↵Rodeo2012-09-011-3/+14
| | | | | | it hardcoded. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4924 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Move mixdown-> channel_layout/matrix_encoding translation to ↵Rodeo2012-08-276-36/+44
| | | | | | | | | | hb_audio_resample_init(). Unlike hb_audio_remap, hb_audio_resample will never be used in situations where we don't have a mixdown. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4923 b64f7644-9d1e-0410-96f1-a4d463321fa5