projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9745a41
)
typefind: Fix mpeg TS detection
author
David Schleef
<ds@schleef.org>
Wed, 16 Feb 2011 03:23:48 +0000
(19:23 -0800)
committer
David Schleef
<ds@schleef.org>
Fri, 18 Feb 2011 02:29:57 +0000
(18:29 -0800)
gst/typefind/gsttypefindfunctions.c
patch
|
blob
|
history
diff --git
a/gst/typefind/gsttypefindfunctions.c
b/gst/typefind/gsttypefindfunctions.c
index
6646944
..
1180930
100644
(file)
--- a/
gst/typefind/gsttypefindfunctions.c
+++ b/
gst/typefind/gsttypefindfunctions.c
@@
-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] & 0x
10) == 0x1
0))
+ (((data)[3] & 0x
30) != 0x0
0))
/* Helper function to search ahead at intervals of packet_size for mpegts
* headers */