mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
typefind: Fix mpeg TS detection
This commit is contained in:
parent
9745a41ea3
commit
7902e13df5
1 changed files with 1 additions and 1 deletions
|
@ -1896,7 +1896,7 @@ static GstStaticCaps mpegts_caps = GST_STATIC_CAPS ("video/mpegts, "
|
|||
/* Check for sync byte, error_indicator == 0 and packet has payload */
|
||||
#define IS_MPEGTS_HEADER(data) (((data)[0] == 0x47) && \
|
||||
(((data)[1] & 0x80) == 0x00) && \
|
||||
(((data)[3] & 0x10) == 0x10))
|
||||
(((data)[3] & 0x30) != 0x00))
|
||||
|
||||
/* Helper function to search ahead at intervals of packet_size for mpegts
|
||||
* headers */
|
||||
|
|
Loading…
Reference in a new issue