From 8e3db8290bce9a1b113eafa38009259846b91167 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Tue, 3 Mar 2009 17:34:32 +0000 Subject: [PATCH] Remove videorate Signed-off-by: Sjoerd Simons svn path=/trunk/; revision=2558 --- libempathy-gtk/empathy-video-src.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libempathy-gtk/empathy-video-src.c b/libempathy-gtk/empathy-video-src.c index 3a654830..8614b6b4 100644 --- a/libempathy-gtk/empathy-video-src.c +++ b/libempathy-gtk/empathy-video-src.c @@ -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"); -- 2.39.2