diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index 7a92a4adf5..96f4d1d705 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;