Skip to content

pbutils: Fix segfault when using invalid encoding profile

Trying to use gst_encoding_profile_get_file_extension on a GstEncodingProfile with a cap containing a typo would result in strcmp being called with NULL. Instead use g_strcmp0 that handles this case.

Edited by Tim-Philipp Müller

Merge request reports