QtGStreamer: Internal data flow error.

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Sun Mar 3 23:40:59 PST 2013


> Thanks for your reply, I believe the answers to your questions are in the
> sample code I provided.  When I stop() I set the state to NULL, and

I didn't see any sample code in your first mail in this thread. Did
you send it in another thread?

> "Internal data flow error" is an error coming on the bus when I try to
> play() again.

You can check the return value you get when you do a setState() on
your (pipeline?) element. It's possible that there was a state change
failure when attempting to change from running state to NULL. You can
either use gst_element_get_state() (or its QtGstreamer equivalent) to
wait for the completion of the state change or  wait for a state
change message on the bus.

You can also try another thing. Change the state manually in steps,
i.e PLAYING -> READY and then READY -> NULL to see if there is any of
the state changes is failing.

Enable debugs (by setting GST_DEBUG env var) to see if there are any
warnings/criticals being reported when you attempt to change state.

HTH,
-mandeep

>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/QtGStreamer-Internal-data-flow-error-tp4658824p4658831.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list