GNOME Bugzilla – Bug 667219
videoparsers: fix mpeg2 parsing confusion w/ dvd
Last modified: 2012-01-31 12:39:00 UTC
Perhaps not unique to mpeg2 from DVD, but this is the case where I'm seeing the parsing logic tripped up by an extension_start_code which is not sequence_extension_id. patch attached
Created attachment 204526 [details] [review] videoparsers: fix mpeg2 parsing confusion w/ dvd
I can't seem to be able to find the file your patch patches. Is this one of your own files by any chance ? Grepping around for some of the context in the patch comes up empty, so not something that's moved files either... Some parers were ported to a new parser lib, so chances are the code you're patching is entirely gone. If you find the bug is still there under another guise, please reopen with a patch for the new code.
Looks this is indeed handled now: in gst-libs/gst/codecparsers/gstmpegvideoparse.c: 408) if (gst_bit_reader_get_bits_uint8_unchecked (&br, 4) != 409) GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE) { 410) GST_DEBUG ("Not parsing a sequence extension"); 411) return FALSE; 412) }