From: George Kiagiadakis Date: Wed, 15 Apr 2015 09:07:27 +0000 (+0200) Subject: splitmuxsink: do not access property variable without the object lock, use the local... X-Git-Tag: 1.19.3~509^2~3692 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97c03449a42c380f4cfc39f13744501aa209a6a0;p=platform%2Fupstream%2Fgstreamer.git splitmuxsink: do not access property variable without the object lock, use the local stack copy instead --- 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;