aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-video-src.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-03-04 01:34:32 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-03-04 01:34:32 +0800
commit8e3db8290bce9a1b113eafa38009259846b91167 (patch)
tree275cf4fe89797434d3b12dc061f3837a99399ef0 /libempathy-gtk/empathy-video-src.c
parent489416c8a3d3973f276f0b88489d4744c4536d50 (diff)
downloadgsoc2013-empathy-8e3db8290bce9a1b113eafa38009259846b91167.tar
gsoc2013-empathy-8e3db8290bce9a1b113eafa38009259846b91167.tar.gz
gsoc2013-empathy-8e3db8290bce9a1b113eafa38009259846b91167.tar.bz2
gsoc2013-empathy-8e3db8290bce9a1b113eafa38009259846b91167.tar.lz
gsoc2013-empathy-8e3db8290bce9a1b113eafa38009259846b91167.tar.xz
gsoc2013-empathy-8e3db8290bce9a1b113eafa38009259846b91167.tar.zst
gsoc2013-empathy-8e3db8290bce9a1b113eafa38009259846b91167.zip
Remove videorate
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2558
Diffstat (limited to 'libempathy-gtk/empathy-video-src.c')
-rw-r--r--libempathy-gtk/empathy-video-src.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-video-src.c b/libempathy-gtk/empathy-video-src.c
index 3a654830c..8614b6b43 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");