| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
AVStream.codec is now deprecated. Allocate a separate codec context
instead.
|
|
|
|
|
|
| |
lavfi has been considered to be stable for a while now, so it is enabled
in most configurations. Supporting avplay without lavfi requires a lot
of nontrivial ifdef mess for no good reason.
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
| |
And move the resource deallocation in stream_open failure path.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
| |
The name was misleading.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
| |
The structure is not video-specific.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
| |
It does not belong to the stream setup.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
|
| |
And refactor the code in preparation of the following
patches.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
|
| |
`av_packet_unref` matches the AVFrame ref-counted API and can be used as
a drop in replacement.
Deprecate `av_free_packet`.
|
|
|
|
| |
And drop the av_dup_packet from the input_thread.
|
|
|
|
| |
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the new fields directly instead of the ones from AVPicture.
This removes a layer of indirection which serves no pratical purpose
whatsoever, and will help in removing AVPicture structure completely
later.
Every subtitle encoder/decoder seamlessly points to the new arrays,
so it is possible to deprecate AVSubtitleRect.pict.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
|
| |
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
|
| |
Convert doxygen to multiline and express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This is enabled by default, but can be disbled via the -noautorotate
option.
Based on a patch by Clément Bœsch.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
| |
Significantly based on a patch by Clément Bœsch.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
| |
Initialize `diff` to 0.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
| |
Bug-Id: CID 1291564
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
| |
This applies to every library where performance is not critical.
|
|
|
|
|
|
| |
Bug-Id: CID 1288294
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
| |
CC: libav-stable@libav.org
Bug-Id: CID 1265718
|
|
|
|
|
| |
CC: libav-stable@libav.org
Bug-Id: CID 1267893
|
|
|
|
| |
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
| |
CC: libav-stable@libav.org
Bug-Id: CID 733793
|
|
|
|
|
| |
CC: libav-stable@libav.org
Bug-Id: CID 1238794
|
|
|
|
|
|
| |
This is the expected behavior shared by all other cli multimedia players.
Bug-Id: 732
|
|
|
|
| |
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
|
|
|
| |
This was broken (left half-implemented) in 354468fc12.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
|
|
|
| |
avcodec_decode_audio4() will reset the frame itself.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Set the data field in the flush_pkt to the pointer to the actual packet.
The field needs to contain a valid unique pointer, no read nor writes
are ever made to it.
|
|
|
|
| |
Removes an arbitrary hardcoded limit on the number of filters.
|
|
|
|
|
| |
We do not support using filters without AVFilterGraph in practice
anyway, so there is no point in pretending we do.
|
|
|
|
|
| |
It just shadows the corresponding AVOption and prevents using named
constants.
|
|
|
|
|
|
| |
SDL 2 is API incompatible.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
| |
Remove now unused cmdutils get_buffer() implementation.
|
|
|
|
|
|
|
|
|
| |
If there is a sample_aspect_ratio in the stream, then apply it to every
decoded frame in the same way as avconv does. This also makes sure that
the avfilter chain has access to the aspect ratio.
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
| |
Fixes build with lavfi disabled.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
| |
Resample to the rate that was configured in SDL.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This is more consistent with what the rest of Libav does.
This breaks API.
|
| |
|