GNOME Bugzilla – Bug 321790
[mpegstream] improve packetize to detect incorrect data
Last modified: 2009-09-09 17:19:29 UTC
The attached patch makes MPEG packetize to detect invalid data in the MPEG stream (in most cases) and skip it. It finds out the length of the current chjunk in the MPEG stream. Then it finds out whether there is a start code after the current chunk. If there is not the start chunk, some data in the stream are probably missing, i.e. the current chunk is cut. So packetize skips one byte of current chunk and looks for the next start code. Therefore it effectively skips the cur current chunk. This improves stability when the source of MPEG stream is UDP, but not completely, unfortunatelly.
Created attachment 54908 [details] [review] Patch to skip incorrect data
CC'ing Martin Soto
Martin could you please take a look at this patch?
Is this bug still valid now that we have the new mpegpsdemux in -bad ?
Closing because it's not really useful anymore because the prefered demuxers are the new ones from -bad now.