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

cfd new via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.