summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-07-22 16:32:06 +0100
committerLionel Landwerlin <llandwerlin@gmail.com>2013-07-22 16:32:06 +0100
commit2df8981679d3226489e705726adf7f1572229ffd (patch)
tree81535abc6094166c9c47826e2abd1ce03e2d6701 /examples
parentf9225bea8ad45624e57a3144d37ddd842510014a (diff)
downloadclutter-gst-2df8981679d3226489e705726adf7f1572229ffd.tar.gz
fix compilation warnings all over the place
Diffstat (limited to 'examples')
-rw-r--r--examples/video-sink-navigation.c3
-rw-r--r--examples/video-sink.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/video-sink-navigation.c b/examples/video-sink-navigation.c
index e4d3cc9..8dc5fdd 100644
--- a/examples/video-sink-navigation.c
+++ b/examples/video-sink-navigation.c
@@ -75,6 +75,9 @@ main (int argc, char *argv[])
test = gst_element_factory_make ("navigationtest", NULL);
colorspace = gst_element_factory_make ("videoconvert", NULL);
+ sink = gst_element_factory_make ("clutterautovideosink", NULL);
+ g_object_set (sink, "content", clutter_actor_get_content (actor), NULL);
+
// g_object_set (src , "pattern", 10, NULL);
gst_bin_add_many (GST_BIN (pipeline), src, filter, test, colorspace, sink, NULL);
diff --git a/examples/video-sink.c b/examples/video-sink.c
index 7389a4d..26a3651 100644
--- a/examples/video-sink.c
+++ b/examples/video-sink.c
@@ -114,7 +114,7 @@ main (int argc, char *argv[])
gst_bin_add_many (GST_BIN (bin), src, warp, NULL);
gst_element_link_many (src, warp, NULL);
- g_object_set (pipeline, "source", bin);
+ g_object_set (pipeline, "source", bin, NULL);
clutter_gst_player_set_playing (CLUTTER_GST_PLAYER (player), TRUE);