Commit 0bd0c0c3 authored by Luis de Bethencourt's avatar Luis de Bethencourt

update dependencies for addition to Fedora

parent cb5587c4
......@@ -35,7 +35,7 @@ AC_CANONICAL_HOST
# keep one single GST_REQ, core/base should be same versions anyway
GST_REQ=1.0.0
CLUTTER_REQS=1.12.0
CLUTTER_GST_REQS=1.5.5
CLUTTER_GST_REQS=2.0.0
CLUTTER_GTK_REQS=1.0.2
GTK_REQS=3.5.0
GIO_REQ=2.32
......@@ -43,6 +43,7 @@ GIO_REQ=2.32
PKG_CHECK_MODULES([GST], \
[gstreamer-1.0 >= $GST_REQ
gstreamer-base-1.0 >= $GST_REQ
gstreamer-plugins-base-1.0 >= $GST_REQ
gstreamer-pbutils-1.0 >= $GST_REQ
gstreamer-video-1.0 >= $GST_REQ])
......
......@@ -177,6 +177,8 @@ main (int argc, char *argv[])
#endif
gtk_clutter_init (&argc, &argv);
gst_init (&argc, &argv);
clutter_gst_init (NULL, NULL);
/* Try to find the path for our resources in case snappy was relocated */
data_dir = g_strdup (SNAPPY_DATA_DIR);
......@@ -228,10 +230,10 @@ main (int argc, char *argv[])
/* Gstreamer engine */
engine = g_new (GstEngine, 1);
sink = gst_element_factory_make ("autocluttersink", "cluttersink");
sink = gst_element_factory_make ("cluttersink", "video-sink");
if (sink == NULL) {
GST_DEBUG ("autocluttersink not found, falling back to cluttersink\n");
sink = gst_element_factory_make ("cluttersink", "cluttersink");
g_print ("ERROR: Failed to create clutter-gst sink element\n");
return FALSE;
}
g_object_set (G_OBJECT (sink), "texture", video_texture, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment