diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-10-06 18:15:03 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-10-06 18:15:03 +0200 |
commit | b41aab36905be6f822f0e102b291d8630474bc42 (patch) | |
tree | 398d16ce33b77b0f770476442f38bf72662f7ea6 | |
parent | 76d9685202e4443573d71c16b0445cbd3fb59aca (diff) |
ffdec: add some comments
-rw-r--r-- | ext/ffmpeg/gstffmpegdec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index e802ee5..d2649a5 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -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; |