diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-10-12 22:33:45 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-10-12 22:35:05 +0200 |
commit | 953e94ac784e7e5ecfa1984275a355d638df1e35 (patch) | |
tree | 6d2f501a47bad13b1aa275ab2ce1afc42cc3cbff /gst/mpegdemux/gstmpegdemux.c | |
parent | c24eb1db9bb1bfab30abe98c9b73dcccee08dbd2 (diff) |
mpegdemux: advance stream time when sending GAP event
Diffstat (limited to 'gst/mpegdemux/gstmpegdemux.c')
-rw-r--r-- | gst/mpegdemux/gstmpegdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c index 862582f08..b3b2284b1 100644 --- a/gst/mpegdemux/gstmpegdemux.c +++ b/gst/mpegdemux/gstmpegdemux.c @@ -872,6 +872,7 @@ gst_flups_demux_send_gap_updates (GstFluPSDemux * demux, GstClockTime new_start) event = gst_event_new_gap (stream->last_ts, new_start - stream->last_ts); gst_pad_push_event (stream->pad, event); + stream->last_ts = new_start; } } } |