mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
924c44f369
commit
342132a700
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue