question on when sink element send message to motify state playing to paused complete?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

question on when sink element send message to motify state playing to paused complete?

bcxa sz
Hi Developers,

when change the playbin2 pipeline from playing to paused, the sink
element will change state from playing to paused asynchronously. My
question is when the sink element complete the state change? The data
pre-rolled? How to know the data has been pre-rolled? The queued data
reach one pre-defined buffer level? what's the value of this buffer
level?

best regards
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: question on when sink element send message to motify state playing to paused complete?

Marco Ballesio
Hi,

On Thu, May 26, 2011 at 6:17 AM, bcxa sz <[hidden email]> wrote:
> Hi Developers,
>
> when change the playbin2 pipeline from playing to paused, the sink
> element will change state from playing to paused asynchronously. My
> question is when the sink element complete the state change?

Because of the excellent documentation GStreamer provides, when
searching for this kind of information Google and grep are your best
friends ;) .

Here's a starter:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-elements-states.html

> The data
> pre-rolled? How to know the data has been pre-rolled?

Check here (you'd get the same by cloning the gstreamer-core repo):

http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-preroll.txt

I hope this will help.

Regards

The queued data
> reach one pre-defined buffer level? what's the value of this buffer
> level?
>
> best regards
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel