Commit 0bbb28c7 authored by royger's avatar royger Committed by Anton Khirnov

vsrc_movie: add key_frame and pict_type.

Signed-off-by: 's avatarRoger Pau Monné <roger.pau@entel.upc.edu>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 5eb901cf
...@@ -252,6 +252,8 @@ static int movie_get_frame(AVFilterLink *outlink) ...@@ -252,6 +252,8 @@ static int movie_get_frame(AVFilterLink *outlink)
st->sample_aspect_ratio : movie->codec_ctx->sample_aspect_ratio; st->sample_aspect_ratio : movie->codec_ctx->sample_aspect_ratio;
movie->picref->video->interlaced = movie->frame->interlaced_frame; movie->picref->video->interlaced = movie->frame->interlaced_frame;
movie->picref->video->top_field_first = movie->frame->top_field_first; 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, av_dlog(outlink->src,
"movie_get_frame(): file:'%s' pts:%"PRId64" time:%lf pos:%"PRId64" aspect:%d/%d\n", "movie_get_frame(): file:'%s' pts:%"PRId64" time:%lf pos:%"PRId64" aspect:%d/%d\n",
movie->file_name, movie->picref->pts, movie->file_name, movie->picref->pts,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment