[Gstreamer-bugs] A real pad and a ghost pad won't connect...

Dimitar Dimitrov dimitar at yucom.be
Sun Jun 22 04:59:09 PDT 2003


Hi,

There seems to exist a problem with connection of two pads when one of them is 
a ghost pad. The thing is that the directions of the two pads are verified to 
be src and sink. This is done via GST_RPAD_DIRECTION macro. 

So the real problem is that (as far as I can see) the ghost pad has direction 
UNKNOWN i.e. neither SRC nor SINK and the connection fails. 

One way to workaround is to replace GST_RPAD_DIRECTION with GST_PAD_DIRECTION, 
but IMHO apart from this it would be good if the ghost pad has the direction 
of its real pad.

Regards,
Dimitar




More information about the Gstreamer-bugs mailing list