mpegdemux: advance stream time when sending GAP event
This commit is contained in:
parent
c24eb1db9b
commit
953e94ac78
@ -872,6 +872,7 @@ gst_flups_demux_send_gap_updates (GstFluPSDemux * demux, GstClockTime new_start)
|
|||||||
event =
|
event =
|
||||||
gst_event_new_gap (stream->last_ts, new_start - stream->last_ts);
|
gst_event_new_gap (stream->last_ts, new_start - stream->last_ts);
|
||||||
gst_pad_push_event (stream->pad, event);
|
gst_pad_push_event (stream->pad, event);
|
||||||
|
stream->last_ts = new_start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user