From: Sreerenj Balachandran Date: Wed, 7 Aug 2013 12:01:33 +0000 (+0300) Subject: vc1parse: Fix the SequenceLayer handling for advanced profile. X-Git-Tag: 1.1.4~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4c52425f20a8c757a2f6939d7c0d6ae2fdc6a6b;p=platform%2Fupstream%2Fgst-plugins-bad.git vc1parse: Fix the SequenceLayer handling for advanced profile. The Sequence Header Data Structure STRUCT_C for Advanced Profile has only a one valid field which is the profile indicator. Don't use the reserved fields for fps update like Simple/Main profile. https://bugzilla.gnome.org/show_bug.cgi?id=705667 --- diff --git a/gst/videoparsers/gstvc1parse.c b/gst/videoparsers/gstvc1parse.c index 3e974f2..9bb37ab 100644 --- a/gst/videoparsers/gstvc1parse.c +++ b/gst/videoparsers/gstvc1parse.c @@ -1428,7 +1428,7 @@ gst_vc1_parse_handle_seq_layer (GstVC1Parse * vc1parse, vc1parse->level = level; } - if (!vc1parse->fps_from_caps) { + if (!vc1parse->fps_from_caps && profile != GST_VC1_PROFILE_ADVANCED) { gint fps; fps = vc1parse->seq_layer.struct_c.framerate; if (fps == 0 || fps == -1)