Skip to content

gstquery: handle failure to get ID value from structure

gst_structure_id_get_value() will return NULL if it can't find the given field. This will cause g_value_get_string() to dereference a NULL pointer if glib was compiled with G_DISABLE_CHECKS.

FALSE should also be returned in this case to indicate a parsing failure and handled as appropriate by callers.

Merge request reports