[FFmpeg-cvslog] avframe: Copy buffer type in copy_props.
Carl Eugen Hoyos
git at videolan.org
Wed Mar 13 13:17:15 CET 2013
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Mar 13 12:47:56 2013 +0100| [f1b716c79b958156e04d5d1683e7e53152cfe914] | committer: Carl Eugen Hoyos
avframe: Copy buffer type in copy_props.
Fixes VDPAU decoding with MPlayer.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1b716c79b958156e04d5d1683e7e53152cfe914
---
libavutil/frame.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavutil/frame.c b/libavutil/frame.c
index 4ec7bee..bd3df40 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -395,6 +395,9 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
dst->top_field_first = src->top_field_first;
dst->sample_rate = src->sample_rate;
dst->opaque = src->opaque;
+#if FF_API_AVFRAME_LAVC
+ dst->type = src->type;
+#endif
dst->pkt_pts = src->pkt_pts;
dst->pkt_dts = src->pkt_dts;
dst->pkt_pos = src->pkt_pos;
More information about the ffmpeg-cvslog
mailing list