mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
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:
parent
ea213f826c
commit
b4c52425f2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue