From eb4fc976e5a08db795961fe7f0f33560725a28b0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 4 Dec 2009 15:39:59 +0100 Subject: [PATCH] oggdemux: add comment --- ext/ogg/gstoggdemux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 5b1e6f15d1..a73151dda6 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -579,7 +579,9 @@ gst_ogg_demux_chain_peer (GstOggPad * pad, ogg_packet * packet) goto done; /* check if valid granulepos, then we can calculate the current - * position */ + * position. We know the granule for each packet but we only want to update + * the last_stop when we have a valid granulepos on the packet because else + * our time jumps around for the different streams. */ if (packet->granulepos < 0) goto done;