[FFmpeg-cvslog] frame: copy flags in av_frame_copy_props()

Anton Khirnov git at videolan.org
Mon Dec 9 18:06:46 CET 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Nov 29 20:40:34 2013 +0100| [c342132fa8a29692e28c98238e3a31da5c407e42] | committer: Anton Khirnov

frame: copy flags in av_frame_copy_props()

Flags can be considered metadata (at least those that are defined now).

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c342132fa8a29692e28c98238e3a31da5c407e42
---

 libavutil/frame.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/frame.c b/libavutil/frame.c
index 99bdd8a..9742e2e 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -379,6 +379,7 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
     dst->quality             = src->quality;
     dst->coded_picture_number = src->coded_picture_number;
     dst->display_picture_number = src->display_picture_number;
+    dst->flags                  = src->flags;
 
     memcpy(dst->error, src->error, sizeof(dst->error));
 



More information about the ffmpeg-cvslog mailing list