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