Need an example for "How to play an audio data which is in memory as buffer" ?
Sebastian Dröge
sebastian at centricular.com
Sun May 1 07:14:22 UTC 2016
On Do, 2016-04-28 at 22:32 -0700, karthik wrote:
> Hi,
>
> After some operation of play and pause, Gstreamer state is not
> changing to play or pause even though i am setting the state using
> gst_element_set_state(). What could be the reason?
> Please help me to solve this issue.
Check if gst_element_set_state() returns an error, and if you get any
error messages on the bus. Also check in the debug logs if something
looks off.
Not being able to go to PAUSED without any error can also mean that not
all sinks receive data, as they only reach the PAUSED state then and
the pipeline will only reach the PAUSED state once all received data.
You can disable this behaviour with the async property on the sinks,
but this is usually a bad idea and in your case would probably be a
workaround for another problem.
What does your pipeline look like?
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160501/421ddd87/attachment.sig>
More information about the gstreamer-devel
mailing list