[FFmpeg-cvslog] vsrc_movie: add key_frame and pict_type.
royger
git at videolan.org
Wed Apr 27 03:56:15 CEST 2011
ffmpeg | branch: master | royger <royger at gmail.com> | Mon Apr 18 17:50:16 2011 +0200| [0bbb28c75bcce950221aa4d9c30b972aab9201f3] | committer: Anton Khirnov
vsrc_movie: add key_frame and pict_type.
Signed-off-by: Roger Pau Monné <roger.pau at entel.upc.edu>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0bbb28c75bcce950221aa4d9c30b972aab9201f3
---
libavfilter/vsrc_movie.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c
index 92eb0ec..88220bc 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,
More information about the ffmpeg-cvslog
mailing list