[gst-devel] issue on gstreamer control
rhong_wang at yahoo.com
Tue Nov 8 10:58:42 CET 2005
Thanks for the help, I tried your suggestion. the
problem is gone.
However, this is another issue.
When calling any mixer interface functions, it will
GstMixerClass *klass = GST_MIXER_GET_CLASS (mixer);
it gives me segmentation fault error.
Do you any clues on this? It seems it is just a
call macro G_TYPE_INSTANCE_GET_INTERFACE in the glib.
I don't know where I should look at.
--- "Ronald S. Bultje" <rbultje at ronald.bitfreak.net>
> 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
> > 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.
Yahoo! Mail - PC Magazine Editors' Choice 2005
More information about the gstreamer-devel