Implement conversion of GST_FORMAT_BYTES gst.FORMAT_TIME in element

Glenn Pierce glennpierce at
Wed Jan 25 04:54:19 PST 2012

I have developed a Python element derived from BaseSrc that has a
default format of GST_FORMAT_BYTES.
Does anyone know what I would have to implement to perform automatic
conversion to gst.FORMAT_TIME queries.

Ie so I can call

element.query_position(gst.Format(gst.FORMAT_TIME), None)[0]



More information about the gstreamer-devel mailing list