[gst-cvs] gst-plugins-base: oggdemux: add comment

Wim Taymans wtay at kemper.freedesktop.org
Fri Dec 4 07:36:55 PST 2009


Module: gst-plugins-base
Branch: master
Commit: eb4fc976e5a08db795961fe7f0f33560725a28b0
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=eb4fc976e5a08db795961fe7f0f33560725a28b0

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Dec  4 15:39:59 2009 +0100

oggdemux: add comment

---

 ext/ogg/gstoggdemux.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c
index 5b1e6f1..a73151d 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;
 





More information about the Gstreamer-commits mailing list