inter: remove dead code

Coverity 1139666
This commit is contained in:
Vincent Penquerc'h 2014-04-09 15:09:25 +01:00
parent c5cb2fbe96
commit 93b1504945

View file

@ -148,7 +148,6 @@ gst_inter_test_create_pipeline_playbin (GstInterTest * intertest,
const char *uri)
{
GstElement *pipeline;
GError *error = NULL;
if (uri == NULL) {
gst_inter_test_create_pipeline_vts (intertest);
@ -159,12 +158,6 @@ gst_inter_test_create_pipeline_playbin (GstInterTest * intertest,
gst_bin_add (GST_BIN (pipeline),
gst_element_factory_make ("playbin", "source"));
if (error) {
g_print ("pipeline parsing error: %s\n", error->message);
gst_object_unref (pipeline);
return;
}
intertest->pipeline = pipeline;
gst_pipeline_set_auto_flush_bus (GST_PIPELINE (pipeline), FALSE);