Commit 87901fd4 authored by Andrew Voznytsa's avatar Andrew Voznytsa

Don't unref _tee - we don't hold reference to this object, it is owned by _pipeline

parent 3cb4f124
......@@ -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