[cheese] Rename ffmpegcolorspace to videoconvert



commit cec62e60a29c3f16f40db5241265caa702588705
Author: Thiago Santos <thiago sousa santos collabora com>
Date:   Tue Aug 28 20:47:12 2012 -0300

    Rename ffmpegcolorspace to videoconvert
    
    The element was renamed in GStreamer 1.0.

 libcheese/cheese-camera.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index bb62d70..5275fcf 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -608,9 +608,9 @@ cheese_camera_create_video_filter_bin (CheeseCamera *camera, GError **error)
     cheese_camera_set_error_element_not_found (error, "videobalance");
     return FALSE;
   }
-  if ((priv->csp_post_balance = gst_element_factory_make ("ffmpegcolorspace", "csp_post_balance")) == NULL)
+  if ((priv->csp_post_balance = gst_element_factory_make ("videoconvert", "csp_post_balance")) == NULL)
   {
-    cheese_camera_set_error_element_not_found (error, "ffmpegcolorspace");
+    cheese_camera_set_error_element_not_found (error, "videoconvert");
     return FALSE;
   }
 
@@ -862,9 +862,9 @@ cheese_camera_element_from_effect (CheeseCamera *camera, CheeseEffect *effect)
                 "pipeline-desc", &effect_desc,
                 "name", &name, NULL);
 
-  effects_pipeline_desc = g_strconcat ("ffmpegcolorspace name=colorspace1 ! ",
+  effects_pipeline_desc = g_strconcat ("videoconvert name=colorspace1 ! ",
                                        effect_desc,
-                                       " ! ffmpegcolorspace name=colorspace2",
+                                       " ! videoconvert name=colorspace2",
                                        NULL);
   g_free (effect_desc);
   effect_filter = gst_parse_bin_from_description (effects_pipeline_desc, FALSE, &err);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]