how to set latency to 0 in playbin winthin c/c++ code

cfd new newcfd at yahoo.com
Fri Sep 1 20:45:18 UTC 2023


I can set latency to 0 by 
gst-launch-1.0 playbin uri=*** uridecondebin0::source::latency=0
how do I do this in C/C++ code?Tried to do the following:GstElement * source{};g_object_get( my_playbin, "source", &source, nullptr);
and source is nullptr.
  Thanks for your help.
   Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230901/4fa342ae/attachment.htm>


More information about the gstreamer-devel mailing list