mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
mpegdemux: accept ID_PRIVATE_STREAM_1 to avoid loosing sync
Current fallback to lost_sync seems to impede a delay to restore sync. Let the parser parse and skip the private stream. Here it contains the digital camera brand (in 2010 bytes) and is repeated twice. https://bugzilla.gnome.org/show_bug.cgi?id=697283
This commit is contained in:
parent
ef0e051e7d
commit
44b1bc6081
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ static gboolean
|
||||||
gst_pes_filter_is_sync (guint32 sync)
|
gst_pes_filter_is_sync (guint32 sync)
|
||||||
{
|
{
|
||||||
return ((sync & 0xfffffffc) == 0x000001bc) ||
|
return ((sync & 0xfffffffc) == 0x000001bc) ||
|
||||||
|
((sync & 0xfffffffd) == 0x000001bd) ||
|
||||||
((sync & 0xffffffe0) == 0x000001c0) ||
|
((sync & 0xffffffe0) == 0x000001c0) ||
|
||||||
((sync & 0xfffffff0) == 0x000001f0) ||
|
((sync & 0xfffffff0) == 0x000001f0) ||
|
||||||
((sync & 0xfffffff0) == 0x000001e0);
|
((sync & 0xfffffff0) == 0x000001e0);
|
||||||
|
|
Loading…
Reference in a new issue