Commit 97c03449 authored by George Kiagiadakis's avatar George Kiagiadakis

splitmuxsink: do not access property variable without the object lock, use the...

splitmuxsink: do not access property variable without the object lock, use the local stack copy instead
parent 19547263
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment