gstreamer/gst-libs/gst
Nirbheek Chauhan cb53a6284f aggregator: Don't try to be too smart while allocating pad names
Previously, while allocating the pad number for a new pad, aggregator was
maintaining an interesting relationship between the pad count and the pad
number.

If you requested a sink pad called "sink_6", padcount (which is badly named and
actually means number-of-pads-minus-one) would be set to 6. Which means that if
you then requested a sink pad called "sink_0", it would be assigned the name
"sink_6" again, which fails the non-uniqueness test inside gstelement.c.

This can be fixed by instead setting padcount to be 7 in that case, but this
breaks manual management of pad names by the application since it then becomes
impossible to request a pad called "sink_2". Instead, we fix this by always
directly using the requested name as the sink pad name. Uniqueness of the pad
name is tested separately inside gstreamer core. If no name is requested, we use
the next available pad number.

Note that this is important since the sinkpad numbering in aggregator is not
meaningless. Videoaggregator uses it to decide the Z-order of video frames.
2016-03-28 13:46:00 +03:00
..
adaptivedemux adaptivedemux: Fix REMOVE_SNAP_FLAGS() macro 2016-03-02 10:41:17 +02:00
audio base/audio/video: Install headers and pkg-config files 2016-01-22 12:39:48 +02:00
base aggregator: Don't try to be too smart while allocating pad names 2016-03-28 13:46:00 +03:00
basecamerabinsrc Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
codecparsers mpegvideoparser: Handle non-hierarchical profiles again 2016-03-09 15:18:42 +01:00
gl bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
insertbin bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
interfaces docs: remove some leftover 'Since 0.10.x' markers 2016-02-03 21:16:18 +00:00
mpegts libs: g-i: fix init section to avoid compiler warnings 2016-01-19 08:40:35 +00:00
player player: Add is_live flag to the GstPlayerMediaInfo 2016-03-25 12:51:29 +02:00
uridownloader dashdemux: add support for HTTP HEAD method of time sync 2015-08-14 06:47:21 -03:00
video videoaggregator: fix caps queries to allow proper renegotiation 2016-02-25 11:43:43 -03:00
wayland libs: Don't install headers and pc files for libgstwayland/badvideo/badbase 2014-07-11 09:33:57 +02:00
gettext.h Fix FSF address 2012-11-04 00:09:59 +00:00
glib-compat-private.h Update GLib dependency to 2.40.0 2015-10-02 22:24:19 +03:00
gst-i18n-plugin.h Fix FSF address 2012-11-04 00:09:59 +00:00
Makefile.am audio: Move audioaggregator base class to a library 2016-01-22 12:39:48 +02:00