Pausing the pipeline when the data flow pauses
afaquejam
afaquejam at gmail.com
Fri Oct 4 05:38:56 PDT 2013
Hi,
I have created a pipeline with certain elements. Using data probes, we can
be notified when there is data passing on a pad. I would like to move the
pipeline to a PLAYING state only when there is a data flow and set the
pipeline to a PAUSED state.
I got it working using a basic solution. I just used a method that checks
the number of times the probe callback method is called every second and
determine when the flow stops. But I believe there must be a more efficient
way to do this. Can anyone suggest a decent approach for this problem?
Thanks,
Cheers,
Afaque.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Pausing-the-pipeline-when-the-data-flow-pauses-tp4662370.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list