convert
Description:
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.
Parameters:
| this |
a Info |
| src_fmt |
Format of the |
| src_val |
value to convert |
| dest_fmt |
Format of the |
| dest_val |
pointer to destination value |
Returns:
|
TRUE if the conversion was successful. |