mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
validate: scenario: always unref srcpad
Reviewed-by: Thibault Saunier <tsaunier@gnome.org> Differential Revision: https://phabricator.freedesktop.org/D959
This commit is contained in:
parent
862b077569
commit
63d4987341
1 changed files with 1 additions and 1 deletions
|
@ -741,12 +741,12 @@ find_input_selector (GValue * velement, const gchar * type)
|
|||
|| g_str_has_prefix (mime, "subtitle/")
|
||||
|| g_str_has_prefix (mime, "video/x-dvd-subpicture");
|
||||
|
||||
gst_object_unref (srcpad);
|
||||
if (found)
|
||||
result = 0;
|
||||
}
|
||||
|
||||
gst_caps_unref (caps);
|
||||
gst_object_unref (srcpad);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue