From 342132a7006280c895f20e7c5839297c7a15eda8 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Sat, 4 Mar 2017 00:15:50 +1100 Subject: [PATCH] oggdemux: Don't arbitrarily guess a timestamp of 0 When we haven't managed to manufacture a timestamp for a packet, don't just guess '0', leave it at none and let downstream decide --- ext/ogg/gstoggdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 03ac00f4e7..bc10813b32 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -723,7 +723,7 @@ gst_ogg_demux_chain_peer (GstOggPad * pad, ogg_packet * packet, out_timestamp = gst_ogg_stream_granule_to_time (&pad->map, pad->prev_granule); else - out_timestamp = 0; + out_timestamp = GST_CLOCK_TIME_NONE; if (pad->map.audio_clipping && pad->current_granule < pad->prev_granule + duration) {