summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/gst/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/gst/main.c b/src/bin/gst/main.c
index 2f396ba..140fe02 100644
--- a/src/bin/gst/main.c
+++ b/src/bin/gst/main.c
@@ -78,7 +78,7 @@ _gst_init(const char *filename)
g_error_free (error);
goto gst_shutdown;
}
-#ifndef USE_OLD_GST
+
g_object_get(G_OBJECT(pipeline),
"n-video", &vidstr,
NULL);
@@ -87,7 +87,7 @@ _gst_init(const char *filename)
D("no video stream\n");
goto gst_shutdown;
}
-#endif
+
sink = gst_bin_get_by_name (GST_BIN (pipeline), "sink");
ret = gst_element_set_state (pipeline, GST_STATE_PAUSED);