mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:16:13 +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)
|
const char *uri)
|
||||||
{
|
{
|
||||||
GstElement *pipeline;
|
GstElement *pipeline;
|
||||||
GError *error = NULL;
|
|
||||||
|
|
||||||
if (uri == NULL) {
|
if (uri == NULL) {
|
||||||
gst_inter_test_create_pipeline_vts (intertest);
|
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_bin_add (GST_BIN (pipeline),
|
||||||
gst_element_factory_make ("playbin", "source"));
|
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;
|
intertest->pipeline = pipeline;
|
||||||
|
|
||||||
gst_pipeline_set_auto_flush_bus (GST_PIPELINE (pipeline), FALSE);
|
gst_pipeline_set_auto_flush_bus (GST_PIPELINE (pipeline), FALSE);
|
||||||
|
|
Loading…
Reference in a new issue