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
This commit is contained in:
Sreerenj Balachandran 2013-08-07 15:01:33 +03:00 committed by Tim-Philipp Müller
parent ea213f826c
commit b4c52425f2

View file

@ -1428,7 +1428,7 @@ gst_vc1_parse_handle_seq_layer (GstVC1Parse * vc1parse,
vc1parse->level = level; vc1parse->level = level;
} }
if (!vc1parse->fps_from_caps) { if (!vc1parse->fps_from_caps && profile != GST_VC1_PROFILE_ADVANCED) {
gint fps; gint fps;
fps = vc1parse->seq_layer.struct_c.framerate; fps = vc1parse->seq_layer.struct_c.framerate;
if (fps == 0 || fps == -1) if (fps == 0 || fps == -1)