Push source scheduling and the create function

Martin Kelly martin at surround.io
Mon May 9 18:28:14 UTC 2016


On 05/08/2016 07:38 AM, Tim Müller wrote:
> On Fri, 2016-05-06 at 12:19 -0700, Martin Kelly wrote:
>
>> Another followup: I see both "sync" and "async" properties on
>> fakesink.
>> Could you clarify the distinction between them and when each should
>> be used?
>
> "async" is about state changes (preroll mechanism)
>
> "sync" determines whether the sink should pay attention to timestamps
> on the buffers and schedule them according to the clock and such. If
> you disable it buffers will be rendered as soon as possible without
> paying any attention to timestamps.
>
> Cheers
> -Tim
>

Thanks for the clarification.


More information about the gstreamer-devel mailing list