Browse Source

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...
QGC4.4
Gus Grubba 5 years ago committed by GitHub
parent
commit
988cd6a9ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/VideoStreaming/VideoReceiver.cc

2
src/VideoStreaming/VideoReceiver.cc

@ -659,8 +659,6 @@ VideoReceiver::_shutdownPipeline() { @@ -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;

Loading…
Cancel
Save