Skip to content
Snippets Groups Projects
Commit f1b716c7 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

avframe: Copy buffer type in copy_props.

Fixes VDPAU decoding with MPlayer.
parent f45fdb12
No related branches found
No related tags found
No related merge requests found
...@@ -395,6 +395,9 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src) ...@@ -395,6 +395,9 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
dst->top_field_first = src->top_field_first; dst->top_field_first = src->top_field_first;
dst->sample_rate = src->sample_rate; dst->sample_rate = src->sample_rate;
dst->opaque = src->opaque; dst->opaque = src->opaque;
#if FF_API_AVFRAME_LAVC
dst->type = src->type;
#endif
dst->pkt_pts = src->pkt_pts; dst->pkt_pts = src->pkt_pts;
dst->pkt_dts = src->pkt_dts; dst->pkt_dts = src->pkt_dts;
dst->pkt_pos = src->pkt_pos; dst->pkt_pos = src->pkt_pos;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment