aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroyger <royger@gmail.com>2011-04-18 17:50:16 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-26 07:43:16 +0200
commit0bbb28c75bcce950221aa4d9c30b972aab9201f3 (patch)
tree1ee6da52248118fe90fb16073c48997cc3c76f15
parent5eb901cfec4a1bca4d961c6eb6889a91a87031ca (diff)
downloadffmpeg-0bbb28c75bcce950221aa4d9c30b972aab9201f3.tar.gz
vsrc_movie: add key_frame and pict_type.
Signed-off-by: Roger Pau Monné <roger.pau@entel.upc.edu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r--libavfilter/vsrc_movie.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c
index 92eb0ecfe0..88220bc4fd 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,