summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-08-22 12:05:32 -0300
committerDamien Lespiau <damien.lespiau@intel.com>2012-09-25 22:36:07 +0100
commit48d8abac8cf1d5bf7ad74e8795a2b844e117e587 (patch)
tree6dbf296256d846cb0bc17bae1bb8f455721dcc3c /examples
parent9d1f7ff7a0c940a4748332eb19b27c8d924b8459 (diff)
downloadclutter-gst-48d8abac8cf1d5bf7ad74e8795a2b844e117e587.tar.gz
video-sink* examples: Port to gstreamer 1.0.
Diffstat (limited to 'examples')
-rw-r--r--examples/video-sink-navigation.c6
-rw-r--r--examples/video-sink.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/video-sink-navigation.c b/examples/video-sink-navigation.c
index 3f91ca3..87f0795 100644
--- a/examples/video-sink-navigation.c
+++ b/examples/video-sink-navigation.c
@@ -4,7 +4,7 @@
* GStreamer integration library for Clutter.
*
* video-sink.c - A small example around the videotestsrc ! capsfilter !
- * navigationtest ! ffmpegcolorspace ! cluttersink pipeline.
+ * navigationtest ! videoconvert ! cluttersink pipeline.
*
* Copyright (C) 2007,2008 OpenedHand
*
@@ -114,10 +114,10 @@ main (int argc, char *argv[])
pipeline = GST_PIPELINE(gst_pipeline_new (NULL));
src = gst_parse_launch ("videotestsrc", NULL);
- filter = gst_parse_launch ("capsfilter caps=video/x-raw-yuv,pixel-aspect-ratio=1/4", NULL);
+ filter = gst_parse_launch ("capsfilter caps=video/x-raw,pixel-aspect-ratio=1/4", NULL);
test = gst_element_factory_make ("navigationtest", NULL);
- colorspace = gst_element_factory_make ("ffmpegcolorspace", NULL);
+ colorspace = gst_element_factory_make ("videoconvert", NULL);
sink = gst_element_factory_make ("cluttersink", NULL);
g_object_set (sink, "texture", CLUTTER_TEXTURE (texture), NULL);
diff --git a/examples/video-sink.c b/examples/video-sink.c
index 877f2d8..b0e13f3 100644
--- a/examples/video-sink.c
+++ b/examples/video-sink.c
@@ -4,7 +4,7 @@
* GStreamer integration library for Clutter.
*
* video-sink.c - A small example around the videotestsrc ! warptv !
- * ffmpegcolorspace ! cluttersink pipeline.
+ * videoconvert ! cluttersink pipeline.
*
* Copyright (C) 2007,2008 OpenedHand
*
@@ -112,7 +112,7 @@ main (int argc, char *argv[])
src = gst_element_factory_make ("videotestsrc", NULL);
warp = gst_element_factory_make ("warptv", NULL);
- colorspace = gst_element_factory_make ("ffmpegcolorspace", NULL);
+ colorspace = gst_element_factory_make ("videoconvert", NULL);
sink = gst_element_factory_make ("cluttersink", NULL);
g_object_set (sink, "texture", CLUTTER_TEXTURE (texture), NULL);