diff options
author | Aurélien Zanelli <aurelien.zanelli@parrot.com> | 2014-10-13 14:05:24 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-10-24 22:09:48 +0100 |
commit | 3a518bd1715c983b5127c18ad28494a54582fdbc (patch) | |
tree | 9d65c9552f4d2fd95ee721eab834552a4d5f0dda | |
parent | d2ec085806906ed5f81f04eb3f89bb931821338c (diff) | |
download | gstreamer-plugins-bad-3a518bd1715c983b5127c18ad28494a54582fdbc.tar.gz |
vc1parse: just assume none header-format when no codec_data is present
https://bugzilla.gnome.org/show_bug.cgi?id=738449
-rw-r--r-- | gst/videoparsers/gstvc1parse.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/videoparsers/gstvc1parse.c b/gst/videoparsers/gstvc1parse.c index b8461d841..552ab3d69 100644 --- a/gst/videoparsers/gstvc1parse.c +++ b/gst/videoparsers/gstvc1parse.c @@ -1773,9 +1773,7 @@ gst_vc1_parse_set_caps (GstBaseParse * parse, GstCaps * caps) gst_buffer_unmap (codec_data, &minfo); } else { vc1parse->input_header_format = VC1_HEADER_FORMAT_NONE; - if (header_format && strcmp (header_format, "sequence-layer") != 0) - vc1parse->input_header_format = VC1_HEADER_FORMAT_SEQUENCE_LAYER; - else if (header_format && strcmp (header_format, "none") != 0) + if (header_format && strcmp (header_format, "none") != 0) GST_WARNING_OBJECT (vc1parse, "Upstream claimed '%s' header format but 'none' detected", header_format); |