splitmuxsink: do not access property variable without the object lock, use the local...
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 15 Apr 2015 09:07:27 +0000 (11:07 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 15 Apr 2015 11:30:19 +0000 (13:30 +0200)
gst/multifile/gstsplitmuxsink.c

index 7a92a4a..96f4d1d 100644 (file)
@@ -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;