Set VDPAU H264 picture parameter field_order_cnt and frame_num at the

start of decoding a picture instead of at the end.
Fixes mmco01.264

Patch by Stephen Warren

Originally committed as revision 22728 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stephen Warren
2010-03-30 08:10:29 +00:00
committed by Carl Eugen Hoyos
parent e5efbafdfd
commit 3bccd93ac0
3 changed files with 21 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ void ff_vdpau_add_data_chunk(MpegEncContext *s, const uint8_t *buf,
void ff_vdpau_mpeg_picture_complete(MpegEncContext *s, const uint8_t *buf,
int buf_size, int slice_count);
void ff_vdpau_h264_picture_start(MpegEncContext *s);
void ff_vdpau_h264_set_reference_frames(MpegEncContext *s);
void ff_vdpau_h264_picture_complete(MpegEncContext *s);