mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
inter: remove dead code
Coverity 1139666
This commit is contained in:
parent
c5cb2fbe96
commit
93b1504945
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue