summaryrefslogtreecommitdiffstats
path: root/gst/videomixer/videomixer.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-05-20 10:42:33 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-05-20 10:42:33 +0000
commit0de3094950661600a9984075709fcde19831fc7a (patch)
treec41876d49c68657c3d6b1ad05b6fe418b5191424 /gst/videomixer/videomixer.h
parent1361d068742cde907d2932a1ab1589d1311dc086 (diff)
gst/videomixer/videomixer.*: Instead of a random number for the request pad id's, use a counter.
Original commit message from CVS: * gst/videomixer/videomixer.c: * gst/videomixer/videomixer.h: Instead of a random number for the request pad id's, use a counter. Register the videomixerpad class from the element's class_init where it's safer, and allows the docs generator to scan it.
Diffstat (limited to 'gst/videomixer/videomixer.h')
-rw-r--r--gst/videomixer/videomixer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/videomixer/videomixer.h b/gst/videomixer/videomixer.h
index 102d3e16..81f6d804 100644
--- a/gst/videomixer/videomixer.h
+++ b/gst/videomixer/videomixer.h
@@ -87,6 +87,9 @@ struct _GstVideoMixer
gint fps_n;
gint fps_d;
+
+ /* Next available sinkpad index */
+ gint next_sinkpad;
};
struct _GstVideoMixerClass