Get rid of unnecessary reffing of the pipeline container.

refer to #1822
This commit is contained in:
mark 2006-10-24 08:07:40 +00:00
parent b68bae9c2c
commit 3a02f0693a
1 changed files with 1 additions and 4 deletions

View File

@ -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);