From eb0b676fae4d6fcbf20a8b7eab2ba29ee616bf62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 27 Jan 2020 15:52:42 +0200 Subject: [PATCH] splitmuxsink: Check the correct sink class for the existence of the "location" property --- gst/multifile/gstsplitmuxsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index 7944612948..4b19b79610 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -990,7 +990,7 @@ send_fragment_opened_closed_msg (GstSplitMuxSink * splitmux, gboolean opened, running_time = *rtime; } - if (g_object_class_find_property (G_OBJECT_GET_CLASS (splitmux->sink), + if (g_object_class_find_property (G_OBJECT_GET_CLASS (sink), "location") != NULL) g_object_get (sink, "location", &location, NULL);