playbin2: query rate
Tim-Philipp Müller
t.i.m at zen.co.uk
Tue Mar 29 09:17:28 PDT 2011
On Tue, 2011-03-29 at 18:10 +0200, sundararaj reel wrote:
> I wish to find out the rate of playback. I set them with
> gst_element_seek() for fast forward and fast rewind but I am unable to
> get playback rate from the pipeline.
>
> I see GST_QUERY_RATE but no gst_element_query_rate() like
> gst_element_query_duration(). Is there a standard way of getting the
> playback rate ?
Try a GST_QUERY_SEGMENT:
http://library.gnome.org/devel/gstreamer/0.10/gstreamer-GstQuery.html#gst-query-new-segment
Cheers
-Tim
More information about the gstreamer-devel
mailing list