Unverified Commit 988cd6a9 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #8416 from andrewvoznytsa/pr-gstreamer-ref-counting-fix

Don't unref _tee - we don't hold reference to this object, it is owned...
parents 3cb4f124 87901fd4
......@@ -659,8 +659,6 @@ VideoReceiver::_shutdownPipeline() {
}
gst_element_set_state(_pipeline, GST_STATE_NULL);
gst_bin_remove(GST_BIN(_pipeline), _videoSink);
gst_bin_remove(GST_BIN(_pipeline), _tee);
gst_object_unref(_tee);
_tee = nullptr;
gst_object_unref(_pipeline);
_pipeline = nullptr;
......
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