From a9dfa354f6bed9e3f30cc1631f3763512043499b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Zanelli?= Date: Mon, 19 May 2014 11:48:55 +0200 Subject: [PATCH] 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 --- gst/videoparsers/gsth264parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index f88d89dfc2..ac499e0504 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -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 &&