| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
These directories are not just for object files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some callers (like do_subtitle_out(), or do_streamcopy()) call this
with an AVPacket that is not refcounted. This can cause undefined
behavior.
Calling av_packet_move_ref() does not make a packet refcounted if it
isn't yet. (And it can't be made to, because it always succeeds,
and can't return ENOMEM.)
Call av_packet_ref() instead to make sure it's refcounted.
Cc: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
| |
Shift fixed point numbers to be actual decimal numbers.
|
| |
|
| |
|
|
|
|
|
| |
Removes specific support for all hwaccels supported by the generic code
(CUVID, DXVA2, D3D11VA, VAAPI and VDPAU).
|
|
|
|
|
|
|
| |
Fixes looping files without audio or when using stream_copy, where
ist->nb_samples is not set since no decoding is done.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
|
|
|
| |
Fixes an infinite loop when a demuxer fails to seek to the start of the input.
Signed-off-by: Peter Große <pegro@friiks.de>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
| |
Some parts of the code are based on a patch by
Timo Rothenpieler <timo@rothenpieler.org>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This also adds support to avconv (which is trivial due to the new
hwaccel API being generic enough).
The new decoder setup code in dxva2.c is significantly based on work by
Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
| |
avtools/cmdutils.c:1234:28: warning: unused variable ‘pix_fmt’ [-Wunused-variable]
|
| |
|
|
|
|
|
| |
Same as f64d1100a54d12c78ce436181bb64229c56da6b3, for stream copy
rather than encode.
|
|
|
|
|
|
| |
This only supports one device globally, but more can be used by
passing them with input streams in hw_frames_ctx or by deriving new
devices inside a filter graph with hwmap.
|
|
|
|
|
|
| |
If -hwaccel foo is supplied without any other device options, and the
foo hwaccel is meant to have a device, try to make such a device with
default parameters for the hwaccel to use.
|
|
|
|
| |
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
|
|
|
|
|
|
|
| |
print_str() cannot print NULL.
Bug-Id: 1040
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
|
|
| |
The allocation event can trigger while the decoding thread is already
closing.
Bug-Id: 1052
CC: libav-stable@libav.org
|
|
|
|
|
| |
Before this, output bitstream filters would never see EOF and
therefore would not be able to flush any delayed packets.
|
|
|
|
| |
Avoid confusion.
|
| |
|
| |
|
|
|
|
| |
Not yet enabled for any hwaccels.
|
|
|
|
| |
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
This unclutters the top-level directory and groups related files together.
|