Implement conversion of GST_FORMAT_BYTES gst.FORMAT_TIME in element

Glenn Pierce glennpierce at gmail.com
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]


Thanks

Glenn


More information about the gstreamer-devel mailing list