mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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:
parent
415d5df7ee
commit
a4048a9d6b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue