The Interface porting between the 0.10 and 1.0 - GstQuery

Sebastian Dröge sebastian at centricular.com
Sat May 14 07:40:17 UTC 2016


On Fr, 2016-05-13 at 04:58 -0700, FranklinHuang wrote:
> gst_element_query_duration this function is gone in 1.0 version, how
> we get the duration then?

It's not gone, but it's also just a wrapper around gst_element_query()
and gst_query_new_duration() and gst_query_parse_duration():
https://cgit.freedesktop.org/gstreamer/gstreamer/tree/gst/gstutils.c#n2277

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160514/b666f13d/attachment.sig>


More information about the gstreamer-devel mailing list