oggdemux: add comment
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 4 Dec 2009 14:39:59 +0000 (15:39 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 4 Dec 2009 14:39:59 +0000 (15:39 +0100)
ext/ogg/gstoggdemux.c

index 5b1e6f1..a73151d 100644 (file)
@@ -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;