aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorRoger Pau Monné <roger.pau@entel.upc.edu>2011-04-16 10:09:15 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-04-16 10:09:15 +0200
commit09a1416db78f49fb3a39cdf5a4bd0f5c5f849ce0 (patch)
treec792cb3d3b70186fa4cf03537affaf572f1bab4b /cmdutils.c
parentd3b379b95b0da8e4d612a9a1987ba6fd8f2bd8bf (diff)
downloadffmpeg-09a1416db78f49fb3a39cdf5a4bd0f5c5f849ce0.tar.gz
Add key_frame and pict_type to AVFilterBufferRefVideo.
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 5b7b508765..aa30962094 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -827,6 +827,8 @@ int get_filtered_video_frame(AVFilterContext *ctx, AVFrame *frame,
memcpy(frame->linesize, picref->linesize, sizeof(frame->linesize));
frame->interlaced_frame = picref->video->interlaced;
frame->top_field_first = picref->video->top_field_first;
+ frame->key_frame = picref->video->key_frame;
+ frame->pict_type = picref->video->pict_type;
return 1;
}