gst/gstpad.c: check that pads that get linked belong to the same manager. The old...
authorBenjamin Otte <otte@gnome.org>
Fri, 2 Jul 2004 03:24:08 +0000 (03:24 +0000)
committerBenjamin Otte <otte@gnome.org>
Fri, 2 Jul 2004 03:24:08 +0000 (03:24 +0000)
commitef97ba69b4e54b3bd7b814ea488f57cbd42a3618
tree8f914a3e493c791bf7d72af90c79dae12516fbd8
parent968c817c260755986168930891bb9f4bebbd28b6
gst/gstpad.c: check that pads that get linked belong to the same manager. The old code allowed linking elements befor...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_check_schedulers),
(gst_pad_can_link_filtered), (gst_pad_link_filtered),
(gst_pad_link_prepare):
check that pads that get linked belong to the same manager. The old
code allowed linking elements before putting them into bins, so it
worked to link them and then put them in different threads, which
lead to weird behaviour.
Since this effectively disallows linking elements before putting
them in a bin, some applications might not work after this and error
out. If these applications are too critical, we might need to revert
that patch. Please test this before the next release...
ChangeLog
gst/gstpad.c