summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-01-21 21:10:18 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-08 07:40:50 +0100
commit9b2dc29534b35d9e337274214853bc8d795f53c4 (patch)
tree9dd0bab564b8677b98bceb4136dccdf8d728dfb8 /avconv.h
parent37045e422903695e610cca6ecb753df643ab9380 (diff)
downloadffmpeg-9b2dc29534b35d9e337274214853bc8d795f53c4.tar.gz
avconv: convert to new refcounted AVFrame API
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/avconv.h b/avconv.h
index da7259e292..eb9df9b16a 100644
--- a/avconv.h
+++ b/avconv.h
@@ -200,6 +200,7 @@ typedef struct InputStream {
int decoding_needed; /* true if the packets must be decoded in 'raw_fifo' */
AVCodec *dec;
AVFrame *decoded_frame;
+ AVFrame *filter_frame; /* a ref of decoded_frame, to be sent to filters */
int64_t start; /* time when read started */
/* predicted dts of the next packet read for this stream or (when there are
@@ -223,9 +224,6 @@ typedef struct InputStream {
int resample_channels;
uint64_t resample_channel_layout;
- /* a pool of free buffers for decoded data */
- FrameBuffer *buffer_pool;
-
/* decoded data from this stream goes into all those filters
* currently video and audio only */
InputFilter **filters;