summaryrefslogtreecommitdiff
path: root/gst/mpegtsdemux/mpegtspacketizer.h
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2013-07-26 07:53:06 +0200
committerEdward Hervey <edward@collabora.com>2013-07-26 08:17:17 +0200
commit8c60e420700bc121166c59f991d33cea6cd15205 (patch)
treef44732c642b80dd694bb0f6ff6f90355012ae780 /gst/mpegtsdemux/mpegtspacketizer.h
parent3b6825a5465bddce5e48965370e74a8e9bf01db8 (diff)
mpegtsdemux: Add more flag debugging for PES and TS packets
Helps with debugging issues. And also remove unused variable (opcr) This will also allow us in the future to properly detect: * random-access location (to enable keyframe observation and potentially seeking * discont location (to properly handle resets) * splice location (to properly handle new stream changes)
Diffstat (limited to 'gst/mpegtsdemux/mpegtspacketizer.h')
-rw-r--r--gst/mpegtsdemux/mpegtspacketizer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gst/mpegtsdemux/mpegtspacketizer.h b/gst/mpegtsdemux/mpegtspacketizer.h
index c17101b09..2034b573b 100644
--- a/gst/mpegtsdemux/mpegtspacketizer.h
+++ b/gst/mpegtsdemux/mpegtspacketizer.h
@@ -39,8 +39,11 @@
#define MPEGTS_MIN_PACKETSIZE MPEGTS_NORMAL_PACKETSIZE
#define MPEGTS_MAX_PACKETSIZE MPEGTS_ATSC_PACKETSIZE
-#define MPEGTS_AFC_PCR_FLAG 0x10
-#define MPEGTS_AFC_OPCR_FLAG 0x08
+#define MPEGTS_AFC_PCR_FLAG 0x10
+#define MPEGTS_AFC_OPCR_FLAG 0x08
+#define MPEGTS_AFC_SPLICING_POINT_FLAG 0x04
+#define MPEGTS_AFC_TRANSPORT_PRIVATE_DATA_FLAG 0x02
+#define MPEGTS_AFC_EXTENSION_FLAG 0x01
#define MAX_WINDOW 512
@@ -131,7 +134,6 @@ typedef struct
guint8 afc_flags;
guint64 pcr;
- guint64 opcr;
guint64 offset;
} MpegTSPacketizerPacket;