Nicolas George
acb67c5bbc
lavd/lavfi: fix two memleaks.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Stefano Sabatini
f1622a17fd
lavd/lavfi: reindent block in lavfi_read_header
13 years ago
Stefano Sabatini
4d475f7eb3
lavd/lavfi: add check in case pix_fmts cannot be allocated in lavfi_read_header()
13 years ago
Stefano Sabatini
21dfd1591e
lavd/lavfi: fix incomplete comment
13 years ago
Stefano Sabatini
86b7db616d
lavd/lavfi: fix typo in error message
13 years ago
Nicolas George
1509bd3e9e
lavd/lavfi: remove a duplicated line.
13 years ago
Clément Bœsch
215b7724e7
lavf: rename remaining av_set_pts_info() to avpriv_set_pts_info().
13 years ago
Clément Bœsch
0e5ecd806e
Replace remaining av_new_stream() with avformat_new_stream().
13 years ago
Clément Bœsch
539399d4d1
AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.
13 years ago
Stefano Sabatini
477718f40b
lavd/lavfi: compute and use the used samples buffer size for the output audio packet size
...
Do not assume the used size is the same of the allocated size, as it was
wrongly assumed. Fix audio playback when the two values differ.
13 years ago
Stefano Sabatini
e3fc0e8280
lavdev/lavfi: reindent after the last commit
13 years ago
Stefano Sabatini
4893c204c8
lavdev/lavfi: add audio support
13 years ago
Stefano Sabatini
4f7dfe12ea
lavfi: rename vsink_buffer.c to sink_buffer.c, and vsink_buffer.h to buffersink.h
...
This is done in order to clarify the non-video-specific nature of the
buffersink code, as the result of the video/audio API unification of
the previous commit, and for improving overall consistency.
13 years ago
Stefano Sabatini
c4415f6ec9
lavfi: unify asink_buffer and vsink_buffer API
...
The new API is more generic (no distinction between audio/video for
pulling frames), and avoids code duplication.
A backward compatibility layer is kept for avoiding tools ABI breaks
(only for the video binary interface, audio interface was never used
in the tools).
13 years ago
Stefano Sabatini
6da590d0a5
lavdev/lavfi: add debug traces in lavfi_read_packet()
13 years ago
Stefano Sabatini
6a5c693a18
lavdev/lavfi: set sample aspect ratio in the output stream/codec context
13 years ago
Stefano Sabatini
4b66c8b425
lavdev/lavfi: specify pos in the output packets
13 years ago
Stefano Sabatini
7fd3e1c766
lavdev/lavfi: initialize variable, fix warning
13 years ago
Stefano Sabatini
a9d1878abe
lavdev/lavfi: correctly set the inout pad index when linking a filter to the output sink
...
In lavfi_read_header(), use the pad index designated in the inout for
linking an output to a sink, rather than always 0. Fix link creation
for filters with more than one output (e.g. the split filter).
13 years ago
Stefano Sabatini
214357341a
lavdev: add libavfilter virtual input device
...
This input device is to be considered still experimental, only video
output is supported.
13 years ago