projects
/
platform
/
upstream
/
gst-libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d9685
)
ffdec: add some comments
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 6 Oct 2010 16:15:03 +0000
(18:15 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 6 Oct 2010 16:15:03 +0000
(18:15 +0200)
ext/ffmpeg/gstffmpegdec.c
patch
|
blob
|
history
diff --git
a/ext/ffmpeg/gstffmpegdec.c
b/ext/ffmpeg/gstffmpegdec.c
index
e802ee5
..
d2649a5
100644
(file)
--- 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;