[gst-devel] GST_DEBUG_BIN_TO_DOT_FILE doesn't show all elements.

wl2776 wl2776 at gmail.com
Fri Apr 9 07:26:04 CEST 2010

Stefan Kost wrote:
>>>> Yes, I know, I play a wav file. The question is - why has playbin2 left
>>>> the video-sink?
>>>> And another question - why I don't see any video-sinks in the pipeline?
>>> why should playbin add the videosink to the pipleine if its not needed.
>>> GST_DEBUG_BIN_TO_DOT_FILE() only shows the elements that are in the
>>> pipeline, your videosink is not.
>> If I see messages from the videosink, then it's added to the playbin,
>> right?
> No. It is instantiated.
Sorry, I don't understand. How many instances of videosink has my

My code is like the following

GstElement *m_player;
GstElement *m_videosink;

void open(char *filename)

I don't call gst_object_unref(m_videosink) in the open(). 
And even calls to this in close(), where I set m_player state to NULL and
unref all objects, caused segmentation violations.

I think, my application has one videosink instance. Right?
View this message in context: http://n4.nabble.com/GST-DEBUG-BIN-TO-DOT-FILE-doesn-t-show-all-elements-tp1752600p1806655.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

More information about the gstreamer-devel mailing list