element's state change function

Chuck Crisler ccrisler at mutualink.net
Thu Jan 30 07:23:42 PST 2014


Test it, find out (with logging) and post the result. Try building the
pipeline in different orders and check the resulting logs.


On Thu, Jan 30, 2014 at 1:52 AM, Yogesh Tyagi <yogesh.bit2006 at gmail.com>wrote:

> Does it depend upon the order in which elements are added in pipeline?
>
> Thanks,
> Yogesh
>
>
> On Tue, Jan 28, 2014 at 4:55 PM, Yogesh Tyagi <yogesh.bit2006 at gmail.com>wrote:
>
>> I went through this document and I understand that state changes happen
>> topologically from sink to source. But if I have two sink elements in my
>> pipeline, can I assume that these two elements will never change the state
>> in parallel?
>>
>> Thanks,
>> Yogesh
>>
>>
>> On Mon, Jan 27, 2014 at 8:51 PM, Tim Müller <tim at centricular.com> wrote:
>>
>>> On Mon, 2014-01-27 at 18:21 +0530, Yogesh Tyagi wrote:
>>>
>>>
>>> > And if Gstreamer changes element's state in a singlethread, is there
>>> > any particular order in which state of the elements are changed?
>>>
>>> Yes, state changes happen topologically from sink to source.
>>>
>>> You can't make any assumptions about any particular thread being used.
>>>
>>>
>>> http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-states.txt
>>>
>>> has some more details.
>>>
>>>  Cheers
>>>   -Tim
>>>
>>> >
>>> >
>>> > On Mon, Jan 27, 2014 at 6:04 PM, Yogesh Tyagi
>>> > <yogesh.bit2006 at gmail.com> wrote:
>>> >         Hi,
>>> >
>>> >
>>> >         Does gstreamer change state of individual elements in pipeline
>>> >         in separate threads or in a single thread?
>>> >
>>> >
>>> >         Thanks,
>>> >         Yogesh
>>> >
>>> >
>>> > _______________________________________________
>>> > gstreamer-devel mailing list
>>> > gstreamer-devel at lists.freedesktop.org
>>> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>> --
>>> Tim Müller, Centricular Ltd - http://www.centricular.com
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140130/c6d2c08b/attachment.html>


More information about the gstreamer-devel mailing list