diff options
author | Edward Hervey <bilboed@bilboed.com> | 2014-10-20 12:30:50 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-10-20 12:32:10 +0200 |
commit | b59a9262c069d8f0c149ce4c9185c9a439ad6ece (patch) | |
tree | a9f9cc17f5b4e60f2a5baa59ddf4dcfb48363c44 /gst/mpegtsdemux/mpegtspacketizer.h | |
parent | 89455b710629e5c842512ad5d93cff6b771d0d72 (diff) |
tsdemux: GAP detection
All pads of a stream are now added at the beginning. In order to cope with
streams that don't get any data (forever or for a long time) we detect gaps
and push out GAP events when needed.
Cleanups and commenting by Jan Schmidt <jan@centricular.com>
https://bugzilla.gnome.org/show_bug.cgi?id=734040
Diffstat (limited to 'gst/mpegtsdemux/mpegtspacketizer.h')
-rw-r--r-- | gst/mpegtsdemux/mpegtspacketizer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/mpegtsdemux/mpegtspacketizer.h b/gst/mpegtsdemux/mpegtspacketizer.h index f107b80a0..f6fb41d90 100644 --- a/gst/mpegtsdemux/mpegtspacketizer.h +++ b/gst/mpegtsdemux/mpegtspacketizer.h @@ -365,6 +365,9 @@ mpegts_packetizer_ts_to_offset (MpegTSPacketizer2 * packetizer, G_GNUC_INTERNAL GstClockTime mpegts_packetizer_pts_to_ts (MpegTSPacketizer2 * packetizer, GstClockTime pts, guint16 pcr_pid); +G_GNUC_INTERNAL GstClockTime +mpegts_packetizer_get_current_time (MpegTSPacketizer2 * packetizer, + guint16 pcr_pid); G_GNUC_INTERNAL void mpegts_packetizer_set_current_pcr_offset (MpegTSPacketizer2 * packetizer, GstClockTime offset, guint16 pcr_pid); |