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
committerAnton Khirnov <anton@khirnov.net>2011-04-26 07:42:13 +0200
commit10d39405fa82473367e1ba1ed3c4ecbeca2a7986 (patch)
tree39b47229245487cee4bcff9af1211100437ac915 /cmdutils.c
parent7a11c82fb760619d0e17ca234381b50d6c675cc0 (diff)
downloadffmpeg-10d39405fa82473367e1ba1ed3c4ecbeca2a7986.tar.gz
lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
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 d15aba0635..9da07223f5 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -922,6 +922,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;
}