dynamically adding element and setting clock time to zero

vanderhoffer vanderhoffer at gmail.com
Tue Jan 17 18:43:00 UTC 2017


Hi All,

I am adding a rtmpsink element that is pulling a vod file from a media
server.
I note that when I add it to the pipeline this element is requesting the
start time of the file as the current run time of the pipeline clock.

pipeline clock = 45 secs
-> add rtmpsink -> set location ->   gst_pad_activate_mode ( pad,
GST_PAD_MODE_PUSH, TRUE);
-> file plays from 45 secs

pipeline clock = 70 secs
-> add rtmpsink -> set location ->   gst_pad_activate_mode ( pad,
GST_PAD_MODE_PUSH, TRUE);
-> file plays from 70 secs

*What is the clock or g_object parameter to request a custom start time,
such as 10 seconds *
pipeline clock = 30 secs
-> add rtmpsink -> set location ->   gst_pad_activate_mode ( pad,
GST_PAD_MODE_PUSH, TRUE);
-> file plays from 10 secs 


thx
Art



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/dynamically-adding-element-and-setting-clock-time-to-zero-tp4681501.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list