From 77f6b4d58eb76f4dbf208a8bfbd3dbf6e06da8f4 Mon Sep 17 00:00:00 2001 From: royger Date: Mon, 18 Apr 2011 17:50:16 +0200 Subject: [PATCH] Added key_frame and pict_type to vsrc_movie MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Roger Pau Monné Signed-off-by: Michael Niedermayer --- libavfilter/vsrc_movie.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index a59b2e4455..da601bb11f 100644 --- a/libavfilter/vsrc_movie.c +++ b/libavfilter/vsrc_movie.c @@ -252,6 +252,8 @@ static int movie_get_frame(AVFilterLink *outlink) st->sample_aspect_ratio : movie->codec_ctx->sample_aspect_ratio; movie->picref->video->interlaced = movie->frame->interlaced_frame; movie->picref->video->top_field_first = movie->frame->top_field_first; + movie->picref->video->key_frame = movie->frame->key_frame; + movie->picref->video->pict_type = movie->frame->pict_type; av_dlog(outlink->src, "movie_get_frame(): file:'%s' pts:%"PRId64" time:%lf pos:%"PRId64" aspect:%d/%d\n", movie->file_name, movie->picref->pts,