- 07 Oct, 2014 2 commits
-
-
Anton Khirnov authored
The spec requires this. Fixes uninitialized reads on some samples. Remove now unnecessary initialization of the whole merge candidate list.
-
Anton Khirnov authored
The caller expects the MV to always be initialized.
-
- 06 Oct, 2014 8 commits
-
-
Martin Storsjö authored
This avoids warnings about using the codec time base as time base hint. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
By using ff_avc_write_annexb_extradata instead of the h264_mp4toannexb BSF, the code for doing the conversion itself is kept much shorter, there's less state to restore at the end, we don't risk leaving the AVCodecContext in an inconsistent state if returning early due to errors, etc. Also add a missing free if the base64 encoding fails. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Rémi Denis-Courmont authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Manfred Georg authored
The register function now specifies that the user callback should leave things in the same state that it found them on failure but that failure to destroy is ignored by the library. The register function is now explicit about its behavior on failure (it unregisters the previous callback and destroys all mutex). Signed-off-by: Manfred Georg <mgeorg@google.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Rémi Denis-Courmont authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Rémi Denis-Courmont authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Rémi Denis-Courmont authored
This function provides an explicit VDPAU device and VDPAU driver to libavcodec, so that the application is relieved from codec specifics and VdpDevice life cycle management. A stub flags parameter is added for future extension. For instance, it could be used to ignore codec level capabilities (if someone feels dangerous). Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Rémi Denis-Courmont authored
This is necessary to recreate the decoder with the correct parameters, as not all codecs invoke get_format() in this case. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 05 Oct, 2014 4 commits
-
-
Rémi Denis-Courmont authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Rémi Denis-Courmont authored
Using the not so new init and uninit callbacks, avcodec can now take care of creating and destroying the VDPAU decoder instance. The application is still responsible for creating the VDPAU device and allocating video surfaces - this is necessary to keep video surfaces on the GPU all the way to the output. But the application will no longer needs to care about any codec-specific aspects. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Rémi Denis-Courmont authored
Also add error handling. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Rémi Denis-Courmont authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 04 Oct, 2014 6 commits
-
-
Antonio Ospite authored
The paint_mouse_pointer() code uses XFixes to retrieve the cursor coordinates, but XFixes gives no information about which screen the pointer is on; this results in always drawing the cursor on the captured screen even if the mouse pointer was on another screen. For example, when capturing from screen 1 (i.e. -f x11grab -i ":0.1") the cursor was being drawn in the captured image even when the mouse pointer was actually on screen 0, which is wrong and visually confusing. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
It could return NULL if the cursor is outside the screen, the connection timed out or the system is out of memory. CC: libav-stable@libav.org
-
Luca Barbato authored
-
Luca Barbato authored
If a seek is requested before the decoding start there is no current picture. CC: libav-stable@libav.org
-
Janne Grunau authored
Also updates the reference since it was generated by the non-bitexact x86 specific code.
-
Josh Allmann authored
This is needed for clock_gettime. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 03 Oct, 2014 1 commit
-
-
Joakim Roubert authored
The -hls_allow_cache parameter enables explicitly setting the EXT-X-ALLOW-CACHE tag in the manifest file. That tag indicates whether the client MAY or MUST NOT cache downloaded media segments for later replay. Valid values are 1 (=YES) or 0 (=NO) and the EXT-X-ALLOW-CACHE will not show in the manifest for other values (or if -hls_allow_cache is not used. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 01 Oct, 2014 1 commit
-
-
Michael Niedermayer authored
This is similar to what is done in libx264.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 29 Sep, 2014 4 commits
-
-
Justin Ruggles authored
When AVFMT_FLAG_NOBUFFER is set, the packets are not added to the AVFormatContext packet list, so they need to be freed when they are no longer needed. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Michael Niedermayer authored
Unbreak 772d150a. CC: libav-stable@libav.org Bug-Id: 750 / 905753 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Luca Barbato authored
Unbreak cf6090dc. CC: libav-stable@libav.org Sample-Id: hevc-conformance-LTRPSPS_A_Qualcomm_1
-
Timothy B. Terriberry authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 27 Sep, 2014 1 commit
-
-
Luca Barbato authored
Support musl out of box. Amend commit 9d2cee52 that got wrongly merged in its stead.
-
- 26 Sep, 2014 13 commits
-
-
Rémi Denis-Courmont authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Rémi Denis-Courmont authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Rémi Denis-Courmont authored
This allows the application to fall back on another hwaccel or, more likely, software decoding. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
Non-standard compliant libc should be supported on a per-case basis anyway.
-
Luca Barbato authored
Data and subtitle streams might cause false positive.
-
Andreas Cadhalpun authored
It should be more trustworthy than extension matching. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
-
Tristan Matthews authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Tim Walker authored
This is actually defined in the A/52 specification.
-
Tim Walker authored
Some encoders already use this value even though it's reserved in the A/52 specification.
-
Tim Walker authored
CC: libav-stable@libav.org
-
Michael Niedermayer authored
CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Tim Walker <tdskywalker@gmail.com>
-
Tim Walker authored
This appears to be the intended behavior.
-