[Bug 658918] [patch] set caps on pad before checking for peer
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Sep 17 13:22:13 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=658918
GStreamer | gstreamer (core) | 0.10.31
--- Comment #2 from Stas Sergeev <stsp at list.ru> 2011-09-17 20:22:09 UTC ---
> Elements are not responsible for linking pads, applications are.
But bins are, too.
What my bin does, is to set the setcaps handler
for one of its elements's _src_ pad.
I wonder if it is a bad idea to set the setcaps
handler for the sub-element: it is certainly unacceptable
for sink pads, but for src - why not? I don't think some element
will want to set the setcaps handler for its src pad, so why
not doing that in a parent bin? Or is there any use for
the element itself to set the setcaps handler for its src pad?
> Perhaps you want to link elements in a caps::notify signal?
I'll take a look, thanks for the pointer.
Still I wonder if it is a bad idea to do it the way
I've done now.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list