On Fri Sep 6 02:29:00 2024 +0000, Ziqing Hui wrote:
I know in theory, the preferred_format/current_caps which is obtained from GST_EVENT_CAPS was expected to be the actual output format. However, in practice, sometimes the actual output format is different from it.
Before the codec format patch, we are always returning config->stream->format in stream_props_GetMediaType(). So at least it's safe to return it for uncompressed format like things before.