aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-07 22:59:17 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-09 16:56:23 +0800
commit1dc974bb9620f95d5c3c758f54a97f3c68263aee (patch)
tree3df476622f0ad5383789cb8920a0c4700c7e7d94
parent2ca7e0fd3e98e4813e2dba5090577759a66542fa (diff)
downloadgsoc2013-empathy-1dc974bb9620f95d5c3c758f54a97f3c68263aee.tar
gsoc2013-empathy-1dc974bb9620f95d5c3c758f54a97f3c68263aee.tar.gz
gsoc2013-empathy-1dc974bb9620f95d5c3c758f54a97f3c68263aee.tar.bz2
gsoc2013-empathy-1dc974bb9620f95d5c3c758f54a97f3c68263aee.tar.lz
gsoc2013-empathy-1dc974bb9620f95d5c3c758f54a97f3c68263aee.tar.xz
gsoc2013-empathy-1dc974bb9620f95d5c3c758f54a97f3c68263aee.tar.zst
gsoc2013-empathy-1dc974bb9620f95d5c3c758f54a97f3c68263aee.zip
video-widget: don't set priv->sink_pad twice
The first value was never used and overrided a few lines below. https://bugzilla.gnome.org/show_bug.cgi?id=670745
-rw-r--r--src/empathy-video-widget.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/empathy-video-widget.c b/src/empathy-video-widget.c
index 687fab3c5..adca53ef6 100644
--- a/src/empathy-video-widget.c
+++ b/src/empathy-video-widget.c
@@ -130,8 +130,6 @@ empathy_video_widget_constructed (GObject *object)
gst_object_ref (priv->videosink);
gst_object_sink (priv->videosink);
- priv->sink_pad = gst_element_get_static_pad (priv->videosink, "sink");
-
sink = gst_element_factory_make ("gconfvideosink", NULL);
g_assert (sink != NULL);