Get rid of unnecessary reffing of the pipeline container.
refer to #1822
This commit is contained in:
parent
b68bae9c2c
commit
3a02f0693a
|
@ -100,11 +100,8 @@ GstreamerPlayer :: initialize(void) throw (std::exception)
|
|||
throw std::runtime_error("couldn't initialize the gstreamer library");
|
||||
}
|
||||
|
||||
// initialize the pipeline
|
||||
// create the pipeline container (threaded)
|
||||
pipeline = gst_thread_new("audio-player");
|
||||
// take ownership of the pipeline object
|
||||
gst_object_ref(GST_OBJECT(pipeline));
|
||||
gst_object_sink(GST_OBJECT(pipeline));
|
||||
|
||||
g_signal_connect(pipeline, "error", G_CALLBACK(errorHandler), this);
|
||||
|
||||
|
|
Loading…
Reference in New Issue