Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-12-31 19:40:43 +0400
committerAnton Khirnov <anton@khirnov.net>2012-05-14 23:36:11 +0400
commit720c6b78d1e8323d2df070e3da2f0ed305156c65 (patch)
treecfe68ed76432b10cee8466ccd38942dbcdbd3701 /avconv.c
parent8b05e13df3b25e186adaf19cf84f5fa93d829214 (diff)
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/avconv.c b/avconv.c
index c157778869..fbe3827405 100644
--- a/avconv.c
+++ b/avconv.c
@@ -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);