summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavc: specify the behavior of av_lockmgr_register on failure.Manfred Georg2014-10-06
| | | | | | | | | | | 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>
* avconv_vdpau: update to new VDPAU interfaceRémi Denis-Courmont2014-10-06
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: check video surface and decoder capabilitiesRémi Denis-Courmont2014-10-06
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: add av_vdpau_bind_context()Rémi Denis-Courmont2014-10-06
| | | | | | | | | | | | 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>
* vdpau: force reinitialization when output resolution changesRémi Denis-Courmont2014-10-06
| | | | | | | 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>
* vdpau: pass codec-specific parameters from hwaccelRémi Denis-Courmont2014-10-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: common support for managing the VdpDecoder in avcodecRémi Denis-Courmont2014-10-05
| | | | | | | | | | | | 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>
* vdpau: factor out common end-of-frame handlingRémi Denis-Courmont2014-10-05
| | | | | | Also add error handling. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: add helper for VDPAU to libav error codes conversionRémi Denis-Courmont2014-10-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x11grab: Check the XQueryPointer return valueAntonio Ospite2014-10-04
| | | | | | | | | | | | | | 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>
* x11grab: Check XFixesGetCursorImage return valueLuca Barbato2014-10-04
| | | | | | | 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
* x11grab: Check for XFixes availability at runtimeLuca Barbato2014-10-04
|
* vc1: Do not assume seek happens after decodingLuca Barbato2014-10-04
| | | | | | | If a seek is requested before the decoding start there is no current picture. CC: libav-stable@libav.org
* fate-vc1_ilaced_twomv: use -flags +bitexactJanne Grunau2014-10-04
| | | | | Also updates the reference since it was generated by the non-bitexact x86 specific code.
* configure: Add -lrt dependency to avutil's pc file.Josh Allmann2014-10-04
| | | | | | This is needed for clock_gettime. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hlsenc: Add parameter -hls_allow_cacheJoakim Roubert2014-10-03
| | | | | | | | | | | | | 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>
* libx265: enable psnr reporting when requested by the userMichael Niedermayer2014-10-01
| | | | | | | 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>
* lavf: fix memleaks in avformat_find_stream_info()Justin Ruggles2014-09-29
| | | | | | | | 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>
* h264: reset ret to avoid propagating minor failuresMichael Niedermayer2014-09-29
| | | | | | | | Unbreak 772d150a6e82542c06b0c251e73dd299d98d1027. CC: libav-stable@libav.org Bug-Id: 750 / 905753 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hevc: Initialize mergecand_list to 0Luca Barbato2014-09-29
| | | | | | | Unbreak cf6090dc6252f2b276aa4133e3d73a89f4c6046c. CC: libav-stable@libav.org Sample-Id: hevc-conformance-LTRPSPS_A_Qualcomm_1
* sdp: Make opus declaration conform to the specTimothy B. Terriberry2014-09-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Provide a safe default for unknonw libcsLuca Barbato2014-09-27
| | | | | | | Support musl out of box. Amend commit 9d2cee52d37c7340f85a5d41110282aac03e6855 that got wrongly merged in its stead.
* mpeg12: Always invoke the get_format() callbackRémi Denis-Courmont2014-09-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Always invoke the get_format() callbackRémi Denis-Courmont2014-09-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hwaccel: Call ->get_format again if hwaccel init failsRémi Denis-Courmont2014-09-26
| | | | | | | This allows the application to fall back on another hwaccel or, more likely, software decoding. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Assume a standard-compliant default libcLuca Barbato2014-09-26
| | | | | Non-standard compliant libc should be supported on a per-case basis anyway.
* avconv: Use only audio and video to guess discontinuitiesLuca Barbato2014-09-26
| | | | Data and subtitle streams might cause false positive.
* probe: Bump the score for mime type matchingAndreas Cadhalpun2014-09-26
| | | | | | It should be more trustworthy than extension matching. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* log: Unbreak no-tty support on 256color terminalsLuca Barbato2014-09-26
|
* flac: Remove unused headersTristan Matthews2014-09-26
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ac3enc: allow Dolby Pro Logic IIz as the Dolby Surround EX mode.Tim Walker2014-09-26
| | | | This is actually defined in the A/52 specification.
* ac3enc: allow Dolby Pro Logic II as a preferred downmix mode.Tim Walker2014-09-26
| | | | | Some encoders already use this value even though it's reserved in the A/52 specification.
* fate: Add VC-1 interlaced twomv testTim Walker2014-09-26
| | | | CC: libav-stable@libav.org
* vc1: Use logical instead of bitwise or for twomvMichael Niedermayer2014-09-26
| | | | | | CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Tim Walker <tdskywalker@gmail.com>
* vc1: Use logical instead of bitwise or for coded_interTim Walker2014-09-26
| | | | This appears to be the intended behavior.
* pcm-dvd: Move a variable to a smaller scopeDiego Biurrun2014-09-26
| | | | This avoids an unused variable warning on big-endian systems.
* caf: Give context structure a consistent nameDiego Biurrun2014-09-26
|
* m4vdec: K&R formatting cosmeticsGabriel Dume2014-09-25
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lmlm4: K&R formatting cosmeticsGabriel Dume2014-09-25
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* concat: K&R formatting cosmeticsGabriel Dume2014-09-25
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* fate: Switch ra4-288 test from framecrc() to pcm()Katerina Barone-Adesi2014-09-25
| | | | | | The decoder is float-based and the test needs to allow for some fuzz. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avcodec: Fix a doxy comment to refer to the right functionMartin Storsjö2014-09-25
| | | | | CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Clear the session id on redirectsMartin Storsjö2014-09-24
| | | | | | | This fixes handling redirects in case the server provided a session id within the redirect reply. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: HEVC/H.265 supportThomas Volkert2014-09-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Move avc mp4 startcode parsing to a shared fileMartin Storsjö2014-09-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_hevc: Drop a duplicated, nonstandard entryVittorio Giovara2014-09-24
| | | | | | | | | | | | | | | | | | The RFC spec draft only specifies the "H265" name - there is no specification saying how to interpret "HEVC" (if such a packet format is specified it could be an entirely different format). Since this is a very new standard (still a draft), there is little need for compatibility with existing, broken implementations. Therefore remove the extra alias, to avoid the risk of encouraging incorrect usage. Intentionally keeping the ff_hevc_dynamic_handler name for the handler, to use "hevc" consistently as name for the codec instead of "h265" within the library internals as long as there only is one single variant in actual use. Signed-off-by: Martin Storsjö <martin@martin.st>
* dca: Remove some commented-out cruftDiego Biurrun2014-09-20
|
* rtpenc_chain: Pass the initial time_base hint on to the chained muxerMartin Storsjö2014-09-17
| | | | | | | | | | | | In practice this hint is ignored - the rtp muxer always overwrites the stream time base without taking the hint into account. But as a general practice this is the correct way to pass a time base hint on to a chained muxer. This avoids warnings about using the codec time base as hint being deprecated. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Use the right variables in check_host_cppJörg Krause2014-09-17
| | | | | | HOSTCPPFLAGS and HOSTCFLAGS are only set in config.mak. Signed-off-by: Martin Storsjö <martin@martin.st>
* apetag: Fix APE tag size checkKaterina Barone-Adesi2014-09-17
| | | | | | | | | | The size variable is (correctly) unsigned, but is passed to several functions which take signed parameters, such as avio_read, sometimes after having numbers added to it. So ensure that size remains within the bounds that these functions can handle. CC: libav-stable@libav.org Signed-off-by: Diego Biurrun <diego@biurrun.de>