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
This commit is contained in:
Jan Schmidt 2017-03-04 00:15:50 +11:00
parent 924c44f369
commit 342132a700

View file

@ -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) {