From 97c03449a42c380f4cfc39f13744501aa209a6a0 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Wed, 15 Apr 2015 11:07:27 +0200 Subject: [PATCH] splitmuxsink: do not access property variable without the object lock, use the local stack copy instead --- 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 7a92a4a..96f4d1d 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -1295,7 +1295,7 @@ create_elements (GstSplitMuxSink * splitmux) create_element (splitmux, "mp4mux", "muxer")) == NULL) goto fail; } else { - if (!gst_bin_add (GST_BIN (splitmux), splitmux->provided_muxer)) { + if (!gst_bin_add (GST_BIN (splitmux), provided_muxer)) { g_warning ("Could not add muxer element - splitmuxsink will not work"); gst_object_unref (provided_muxer); goto fail; -- 2.7.4