mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
h264parse: set field_pic_flag when parsing a slice header
field_pic_flag was used but never set to other value than its default https://bugzilla.gnome.org/show_bug.cgi?id=730363
This commit is contained in:
parent
5b547a553d
commit
a9dfa354f6
1 changed files with 2 additions and 0 deletions
|
@ -609,6 +609,8 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
|
|||
if (pres == GST_H264_PARSER_OK) {
|
||||
if (GST_H264_IS_I_SLICE (&slice) || GST_H264_IS_SI_SLICE (&slice))
|
||||
h264parse->keyframe |= TRUE;
|
||||
|
||||
h264parse->field_pic_flag = slice.field_pic_flag;
|
||||
}
|
||||
}
|
||||
if (G_LIKELY (nal_type != GST_H264_NAL_SLICE_IDR &&
|
||||
|
|
Loading…
Reference in a new issue