diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-07-22 16:32:06 +0100 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-07-22 16:32:06 +0100 |
commit | 2df8981679d3226489e705726adf7f1572229ffd (patch) | |
tree | 81535abc6094166c9c47826e2abd1ce03e2d6701 /examples | |
parent | f9225bea8ad45624e57a3144d37ddd842510014a (diff) | |
download | clutter-gst-2df8981679d3226489e705726adf7f1572229ffd.tar.gz |
fix compilation warnings all over the place
Diffstat (limited to 'examples')
-rw-r--r-- | examples/video-sink-navigation.c | 3 | ||||
-rw-r--r-- | examples/video-sink.c | 2 |
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); |