[gst-devel] issue on gstreamer control

rong wang rhong_wang at yahoo.com
Tue Nov 8 11:01:49 CET 2005


My target device doesn't support float. Will this
cause segmentation fault when calling 
GstMixerClass *klass = GST_MIXER_GET_CLASS (mixer);


Thanks

Rong

--- "Ronald S. Bultje" <rbultje at ronald.bitfreak.net>
wrote:

> Hi,
> 
> On Mon, 2005-11-07 at 13:23 -0800, rong wang wrote:
> > 	osssink = gst_element_factory_make("osssink",
> > "play_audio");
> > 	ssert(osssink);
> >     mixer = GST_MIXER (osssink);
> [..]
> > (process:723): GStreamer-CRITICAL **:
> > gst_implements_interface_cast: assertion
> > `gst_element_implements_interface (GST_ELEMENT
> (from),
> > iface_type)' failed
> 
> gst_element_set_state (osssink, GST_STATE_READY);
> before the cast. The
> mixer only knows whether the hardware supports it
> when the device was
> opened, which happens in NULL->READY.
> 
> Cheers,
> Ronald
> 
> 



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com




More information about the gstreamer-devel mailing list