Please Define async and 0 meaning

James Cameron quozl at laptop.org
Fri Aug 24 08:15:06 UTC 2018


You asked in Subject for a definition of async and 0.

"async" is a character string constant.  async is a property of
GstBaseSink, which is a parent class of GstFileSink.

https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSink.html

"The “async” property can be used to instruct the sink to never perform an ASYNC state change. This feature is mostly usable when dealing with non-synchronized streams or sparse streams."

https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSink.html#GstBaseSink--async

0 is the integer value zero; it means false for a gboolean.

On Fri, Aug 24, 2018 at 01:16:52PM +0530, Shubham Shrivastava wrote:
> g_object_set(G_OBJECT(filesink), "location", "AFileFromCode.avi", "async", 0, 
> NULL
> 

> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-- 
James Cameron
http://quozl.netrek.org/


More information about the gstreamer-devel mailing list