From d5761fe47d7dd8f02f7ded0afdae54512e09fd9f Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 10 Jun 2012 18:20:40 +0200 Subject: lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos --- libavfilter/avcodec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavfilter/avcodec.c') diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index f6e25bdc30..d6cd4d1f9d 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -93,6 +93,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src) memcpy(dst->linesize, src->linesize, sizeof(dst->linesize)); dst->pts = src->pts; + dst->pkt_pos = src->pos; dst->format = src->format; switch (src->type) { -- cgit v1.2.1