From 1169ebe7890801ef140c80ca147da6272ff5a8a5 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Wed, 4 Jun 2008 06:48:46 +0000 Subject: gst/interleave/interleave.*: Use an always increasing integer for the number in the name of the requested sink pads t... Original commit message from CVS: * gst/interleave/interleave.c: (gst_interleave_pad_get_type), (gst_interleave_pad_get_property), (gst_interleave_pad_class_init), (gst_interleave_request_new_pad), (gst_interleave_release_pad): * gst/interleave/interleave.h: Use an always increasing integer for the number in the name of the requested sink pads to guarantuee a unique name. Add a "channel" property to GstInterleavePad to make it possible for applications to retrieve the channel number in the output for every pad. Use g_type_register_static_simple() instead of g_type_register_static() to save some relocations. --- gst/interleave/interleave.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/interleave/interleave.h') diff --git a/gst/interleave/interleave.h b/gst/interleave/interleave.h index c98cc43b..fb3b2741 100644 --- a/gst/interleave/interleave.h +++ b/gst/interleave/interleave.h @@ -52,6 +52,7 @@ struct _GstInterleave GstCollectPads *collect; gint channels; + gint padcounter; gint rate; gint width; -- cgit