- 22 Mar, 2013 2 commits
-
-
Jindřich Makovička authored
This patch improves af_asyncts behavior on streams with bogus PTS, which are either non-monotonic, or contain PTS jitter, and trigger the non-monotonicity error. With this patch, af_asyncts is able to correct these streams and avoid the error. Firstly, it fixes resample compensation calculation by supplying proper units to avresample_set_compensation (sample count per second instead of sample count per some arbitrary frame size). Also, the calculation of the compensation itself is fixed - delta is proportional to an adjustment of the compensation, not the compensation itself. Ideally, the compensation should converge to a value that keeps delta at zero. To be able to deal with sources with PTS jitter even without resampling, small PTS errors are adjusted, so the output frames do not overlap. Finally, one more monotonicity check is added. The FATE reference changes because now there is 8 less samples of silence because of the pts jitter. Signed-off-by: Jindřich Makovička <makovick@gmail.com>
-
Hendrik Leppkes authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 21 Mar, 2013 13 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Anton Khirnov authored
free_tables() frees it already.
-
Anton Khirnov authored
This way it does not look like a constant.
-
Anton Khirnov authored
This way it does not look like a constant.
-
Anton Khirnov authored
This way it does not look like a constant.
-
Anton Khirnov authored
This way it does not look like a constant.
-
Anton Khirnov authored
This way it does not look like a constant.
-
Anton Khirnov authored
This way it does not look like a constant.
-
Anton Khirnov authored
This way it does not look like a constant.
-
Anton Khirnov authored
This way it does not look like a constant.
-
Anton Khirnov authored
There is no point in keeping those separate.
-
Anton Khirnov authored
It is not called from outside h264.c
-
- 20 Mar, 2013 3 commits
-
-
Janne Grunau authored
-
Janne Grunau authored
AVCodecContext.bits_per_raw_sample is updated from the previous thread in the generic update function before the codec specific update_thread function is called. The check for reinitialization of dsp functions uses bits_per_raw_sample. When called from update_thread_context it will be already at the current value and the dsp functions aren't updated if only the bit depth changes.
-
Martin Storsjö authored
do_adobe_auth takes the parameters in the order "opaque, challenge". Due to the way they are treated, this didn't matter in the tested setups though - if both are set, we only use one. In the tested setups (Wowza and Akamai) either one of them were null or they were both set to the same value, which is why this worked before. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 19 Mar, 2013 10 commits
-
-
Hendrik Leppkes authored
This ensures the hwaccel privdata does not leak when a frame buffer could not be allocated (and toggle the assert when the frame is re-used). Having no frame buffer available is quite common when using the DXVA2 hwaccel in situations where the DXVA2 renderer is being re-allocated, for example when moving between displays. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Hendrik Leppkes authored
This ensures the hwaccel privdata does not leak when a frame buffer could not be allocated (and toggle the assert when the frame is re-used). Having no frame buffer available is quite common when using the DXVA2 hwaccel in situations where the DXVA2 renderer is being re-allocated, for example when moving between displays. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Hendrik Leppkes authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Hendrik Leppkes authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
Anton Khirnov authored
Vertical shift is log2_chroma_h, not log2_chroma_w.
-
Anton Khirnov authored
Number of planes is not always equal to the number of components even for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components in two planes.
-
Anton Khirnov authored
-
Anton Khirnov authored
It just shadows the corresponding AVOption and prevents using named constants.
-
Anton Khirnov authored
This reverts commit d1bec33b, it breaks FATE.
-
- 18 Mar, 2013 4 commits
-
-
Anton Khirnov authored
Those are not usable from the avtools, so mentioning them in the manpages just confuses the reader.
-
Anton Khirnov authored
The total frame size is a combination of the 12 bits in the sequence header and 2 more bits in the the sequence extension. While the specification explicitly forbids the dimensions from the sequence header from being 0 (thus ruling out multiples of 4096), such videos apparrently exist in the wild so we should attempt to decode them. Based on a patch by Michael Niedermayer <michaelni@gmx.at> Fixes Bug 416.
-
Kostya Shishkov authored
Fixes CVE-2013-2495 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Luca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
-
Luca Barbato authored
According to the specification the timestamp is represented by a 32bit unsigned. CC: libav-stable@libav.org
-
- 17 Mar, 2013 1 commit
-
-
Anton Khirnov authored
It is supposed to be height * linesize, not width * linesize. Thanks to Hendrik Leppkes for pointing out the bug.
-
- 16 Mar, 2013 7 commits
-
-
Reinhard Tartler authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
They are auto-negotiated.
-
Anton Khirnov authored
Filter private data is memset to 0 so there is no point in explicitly initing anything to 0.
-
Anton Khirnov authored
The named constant needs to be searched for in the same object on which the option is set, i.e. target_obj.
-
Anton Khirnov authored
-