diff options
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); |