ffdec: add some comments
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 6 Oct 2010 16:15:03 +0000 (18:15 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 6 Oct 2010 16:15:03 +0000 (18:15 +0200)
ext/ffmpeg/gstffmpegdec.c

index e802ee5..d2649a5 100644 (file)
@@ -44,6 +44,10 @@ typedef struct _GstFFMpegDec GstFFMpegDec;
 
 #define MAX_TS_MASK 0xff
 
+/* for each incomming buffer we keep all timing info in a structure like this.
+ * We keep a circular array of these structures around to store the timing info.
+ * The index in the array is what we pass as opaque data (to pictures) and
+ * pts (to parsers) so that ffmpeg can remember them for us. */
 typedef struct
 {
   gint idx;