diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-06-05 18:03:10 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-06-06 10:32:05 +0200 |
commit | 4cc905409e0b76e19fefe316c386597e393cfaad (patch) | |
tree | 35280ad21306fe5d62a89993ac96857cedae9eab /gst/mpegtsmux/tsmux/tsmuxcommon.h | |
parent | 38bb55c472233174f6c1beb5e4977f06f78d0a17 (diff) |
mpegtsmux: more header clarifications and remove some redundant fields
Diffstat (limited to 'gst/mpegtsmux/tsmux/tsmuxcommon.h')
-rw-r--r-- | gst/mpegtsmux/tsmux/tsmuxcommon.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/gst/mpegtsmux/tsmux/tsmuxcommon.h b/gst/mpegtsmux/tsmux/tsmuxcommon.h index 9657b30c8..88d3a49b7 100644 --- a/gst/mpegtsmux/tsmux/tsmuxcommon.h +++ b/gst/mpegtsmux/tsmux/tsmuxcommon.h @@ -127,18 +127,26 @@ struct TsMuxPacketInfo { guint16 pid; guint32 flags; + gboolean packet_start_unit_indicator; + + /* continuity counter */ + guint8 packet_count; + + /* payload bytes available + * (including PES header if applicable) */ + guint stream_avail; + + /* optional PCR */ guint64 pcr; + + /* following not really actively used */ + guint64 opcr; guint8 splice_countdown; guint8 private_data_len; - guint8 private_data [256]; - - guint8 packet_count; /* continuity counter */ - - guint stream_avail; /* Number of payload bytes available */ - gboolean packet_start_unit_indicator; + guint8 private_data[256]; }; static inline void |