Converts among various Format types.
This function handles GST_FORMAT_BYTES, GST_FORMAT_TIME, and GST_FORMAT_DEFAULT. For raw audio, GST_FORMAT_DEFAULT corresponds to audio frames. This function can be used to handle pad queries of the type GST_QUERY_CONVERT.
this |
a Info |
src_fmt |
Format of the |
src_val |
value to convert |
dest_fmt |
Format of the |
dest_val |
pointer to destination value |
TRUE if the conversion was successful. |