decoder: h264: fix picture ordering count type 0 with previous MMCO5.

Fix the decoding process for picture order count type 0 when the previous
picture had a memory_management_control_operation = 5. In particular, fix
the actual variable type for prev_pic_structure to hold the full bits of
the picture structure.

In practice, this used to work though, due to the underlying type used to
express a gboolean.
This commit is contained in:
Gwenole Beauchesne 2014-11-13 15:05:19 +01:00
parent 415d5df7ee
commit a4048a9d6b

View file

@ -502,7 +502,7 @@ struct _GstVaapiDecoderH264Private {
gint32 frame_num; // frame_num (from slice_header())
gint32 prev_frame_num; // prevFrameNum
gboolean prev_pic_has_mmco5; // prevMmco5Pic
gboolean prev_pic_structure; // previous picture structure
guint prev_pic_structure; // previous picture structure
guint is_opened : 1;
guint is_avcC : 1;
guint has_context : 1;