[Bug 304080] [NEW] [Intrepid] Inconsistent state return by ruby binding for gstreamer

vinc-mai vinc-mai at caramail.com
Mon Dec 1 18:29:41 UTC 2008


Public bug reported:

Binary package hint: libgstreamer0.10-ruby1.8

Hi.

I use libgstreamer0.10-ruby1.8 (0.2.0-4) to play audio file (ogg, mp3). Since the upgrade to intrepid I have inconsistent behaviour.
Sometimes, everything works fine.
I have sometimes an error:
GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed
Sometimes, no sound is played by gstreamer.

It seems that the state return by different methods (ready, play, stop) is inconsistent:
#<Gst::Element::StateReturn STATE>
where STATE stands for failure, async, success or a integer.

The behaviour of gstreamer seems not correlated with the returned state.
The file can be played even if the state is failure...

I have attach a small code to show the bug. Just run the script with an
absolute path to an audio file as argument. The file should be played 10
times for 3 seconds. Current state is written to standart ouput.

With the 0.2.0-3 version on hardy, the example return the expected
state.

** Affects: ruby-gstreamer0.10 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Intrepid] Inconsistent state return by ruby binding for gstreamer
https://bugs.launchpad.net/bugs/304080
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list