mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
codecparsers: h264: fix ref_pic_list_reordering().
This commit is contained in:
parent
621fd01281
commit
ccfd761659
1 changed files with 2 additions and 2 deletions
|
@ -720,7 +720,7 @@ slice_parse_ref_pic_list_reordering (GstH264SliceHdr * slice, NalReader * nr)
|
||||||
{
|
{
|
||||||
GST_DEBUG ("parsing \"Reference picture list reordering\"");
|
GST_DEBUG ("parsing \"Reference picture list reordering\"");
|
||||||
|
|
||||||
if (!(slice->type == GST_H264_I_SLICE) && !(slice->type == GST_H264_SI_SLICE)) {
|
if (!GST_H264_IS_I_SLICE (slice) && !GST_H264_IS_SI_SLICE (slice)) {
|
||||||
guint8 ref_pic_list_reordering_flag_l0;
|
guint8 ref_pic_list_reordering_flag_l0;
|
||||||
guint32 reordering_of_pic_nums_idc;
|
guint32 reordering_of_pic_nums_idc;
|
||||||
|
|
||||||
|
@ -741,7 +741,7 @@ slice_parse_ref_pic_list_reordering (GstH264SliceHdr * slice, NalReader * nr)
|
||||||
} while (reordering_of_pic_nums_idc != 3);
|
} while (reordering_of_pic_nums_idc != 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (slice->type == GST_H264_B_SLICE) {
|
if (GST_H264_IS_B_SLICE (slice)) {
|
||||||
guint8 ref_pic_list_reordering_flag_l1;
|
guint8 ref_pic_list_reordering_flag_l1;
|
||||||
guint32 reordering_of_pic_nums_idc;
|
guint32 reordering_of_pic_nums_idc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue