gst/interleave/interleave.*: Use an always increasing integer for the number in the...
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 4 Jun 2008 06:48:46 +0000 (06:48 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 4 Jun 2008 06:48:46 +0000 (06:48 +0000)
commit1169ebe7890801ef140c80ca147da6272ff5a8a5
tree7968b2926ce342a0c782383f7141665a34a7ef7f
parent1f9de0b3f9ec8ccc64bea49d89c4cae58732cead
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.c
gst/interleave/interleave.h