diff options
author | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2013-08-07 15:01:33 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-08-12 16:12:52 +0100 |
commit | b4c52425f20a8c757a2f6939d7c0d6ae2fdc6a6b (patch) | |
tree | bb7a9dfc6a9fd06655638730cde9250025275f58 /gst | |
parent | ea213f826c4934681e77c6af348f069f5b04e456 (diff) | |
download | gstreamer-plugins-bad-b4c52425f20a8c757a2f6939d7c0d6ae2fdc6a6b.tar.gz |
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
Diffstat (limited to 'gst')
-rw-r--r-- | gst/videoparsers/gstvc1parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videoparsers/gstvc1parse.c b/gst/videoparsers/gstvc1parse.c index 3e974f257..9bb37aba3 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) |