]> git.0d.be Git - empathy.git/commitdiff
Remove videorate
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Tue, 3 Mar 2009 17:34:32 +0000 (17:34 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 3 Mar 2009 17:34:32 +0000 (17:34 +0000)
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2558

libempathy-gtk/empathy-video-src.c

index 3a654830c01b0208e77dbfe1d9c75180d5c71556..8614b6b4361e2a8eb0e040f91887e5d7bdc3cdc4 100644 (file)
@@ -53,13 +53,12 @@ static void
 empathy_video_src_init (EmpathyGstVideoSrc *obj)
 {
   EmpathyGstVideoSrcPrivate *priv = EMPATHY_GST_VIDEO_SRC_GET_PRIVATE (obj);
-  GstElement *scale, *rate, *colorspace, *capsfilter;
+  GstElement *scale, *colorspace, *capsfilter;
   GstPad *ghost, *src;
   GstCaps *caps;
 
   /* allocate any data required by the object here */
   scale = gst_element_factory_make ("videoscale", NULL);
-  rate = gst_element_factory_make ("videorate", NULL);
   colorspace = gst_element_factory_make ("ffmpegcolorspace", NULL);
 
   capsfilter = gst_element_factory_make ("capsfilter", NULL);
@@ -72,9 +71,9 @@ empathy_video_src_init (EmpathyGstVideoSrc *obj)
 
   priv->src = gst_element_factory_make ("gconfvideosrc", NULL);
 
-  gst_bin_add_many (GST_BIN (obj), priv->src, scale, rate,
-    colorspace, capsfilter, NULL);
-  gst_element_link_many (priv->src, scale, rate, colorspace, capsfilter, NULL);
+  gst_bin_add_many (GST_BIN (obj), priv->src, scale, colorspace, capsfilter,
+    NULL);
+  gst_element_link_many (priv->src, scale, colorspace, capsfilter, NULL);
 
   src = gst_element_get_static_pad (capsfilter, "src");