effect: Consider the "Filter" classification to determine effect media type

This commit is contained in:
Thibault Saunier 2018-11-23 11:20:00 -03:00
parent 1bdea58132
commit 8cf4605b92

View file

@ -149,7 +149,7 @@ ges_effect_assect_id_get_type_and_bindesc (const char *id,
const gchar *klass =
gst_element_factory_get_metadata (factory, GST_ELEMENT_METADATA_KLASS);
if (g_strrstr (klass, "Effect")) {
if (g_strrstr (klass, "Effect") || g_strrstr (klass, "Filter")) {
if (g_strrstr (klass, "Audio")) {
*track_type = GES_TRACK_TYPE_AUDIO;
break;