projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924c44f
)
oggdemux: Don't arbitrarily guess a timestamp of 0
author
Jan Schmidt
<jan@centricular.com>
Fri, 3 Mar 2017 13:15:50 +0000
(
00:15
+1100)
committer
Jan Schmidt
<jan@centricular.com>
Fri, 3 Mar 2017 13:30:37 +0000
(
00:30
+1100)
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
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggdemux.c
b/ext/ogg/gstoggdemux.c
index
03ac00f
..
bc10813
100644
(file)
--- 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) {