GstFormat

Standard predefined formats GST_FORMAT_UNDEFINED undefined format GST_FORMAT_DEFAULT the default format of the pad/element. This can be samples for raw audio, frames/fields for raw video (some, but not all, elements support this; use GST_FORMAT_TIME if you don't have a good reason to query for samples/frames) GST_FORMAT_BYTES bytes GST_FORMAT_TIME time in nanoseconds GST_FORMAT_BUFFERS buffers (few, if any, elements implement this as of May 2009) GST_FORMAT_PERCENT percentage of stream (few, if any, elements implement this as of May 2009)

Values

ValueMeaning
UNDEFINED0
DEFAULT1
BYTES2
TIME3
BUFFERS4
PERCENT5

Meta