summaryrefslogtreecommitdiff
path: root/gst/mpegpsmux/psmuxstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mpegpsmux/psmuxstream.h')
-rw-r--r--gst/mpegpsmux/psmuxstream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/mpegpsmux/psmuxstream.h b/gst/mpegpsmux/psmuxstream.h
index 9860e6230..ff4c2892b 100644
--- a/gst/mpegpsmux/psmuxstream.h
+++ b/gst/mpegpsmux/psmuxstream.h
@@ -86,6 +86,8 @@ struct PsMuxStreamBuffer
guint8 *data;
guint32 size;
+ gboolean keyunit;
+
/* PTS & DTS associated with the contents of this buffer */
GstClockTime pts;
GstClockTime dts;
@@ -146,7 +148,8 @@ void psmux_stream_set_buffer_release_func (PsMuxStream *stream,
/* Add a new buffer to the pool of available bytes. If pts or dts are not -1, they
* indicate the PTS or DTS of the first access unit within this packet */
void psmux_stream_add_data (PsMuxStream *stream, guint8 *data, guint len,
- void *user_data, gint64 pts, gint64 dts);
+ void *user_data, gint64 pts, gint64 dts,
+ gboolean keyunit);
/* total bytes in buffer */
gint psmux_stream_bytes_in_buffer (PsMuxStream *stream);