diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-12-31 16:40:43 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-05-14 21:36:11 +0200 |
commit | 720c6b78d1e8323d2df070e3da2f0ed305156c65 (patch) | |
tree | cfe68ed76432b10cee8466ccd38942dbcdbd3701 /avconv.c | |
parent | 8b05e13df3b25e186adaf19cf84f5fa93d829214 (diff) | |
download | ffmpeg-720c6b78d1e8323d2df070e3da2f0ed305156c65.tar.gz |
buffersrc: add av_buffersrc_write_frame().
It's the same as av_vsrc_buffer_add_frame(), except it doesn't take pts
or pixel_aspect parameters. Those are read from AVFrame.
Deprecate av_vsrc_buffer_add_frame().
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2357,8 +2357,7 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int buf->refcount++; av_buffersrc_buffer(ist->filters[i]->filter, fb); } else - av_vsrc_buffer_add_frame(ist->filters[i]->filter, decoded_frame, - decoded_frame->pts, decoded_frame->sample_aspect_ratio); + av_buffersrc_write_frame(ist->filters[i]->filter, decoded_frame); } av_free(buffer_to_free); |