@@ -80,6 +80,17 @@ gst_mpeg_video_params_parse_extension (MPEGVParams * params, GstBitReader * br)
/* extension_start_code identifier */
GET_BITS (br, 4, &bits);
+ if (bits != 0x1) {
+ /* not sequence_extension_id.. our caller got fooled by it's
+ * limited understanding of mpeg1/2 syntax.. let's just pretend
+ * and caller will skip fwd to next start code.
+ *
+ * Note: see http://www.omegacs.net/misc/glamdring/misc/mpeg2.parse
+ * with mpeg2 from DVD, I see us hit this a second time with
+ * sequence_display_extension_id (0x2)
+ */
+ return TRUE;
+ }
/* profile_and_level_indication */
GET_BITS (br, 4, &bits);