[empathy] video-widget: don't set priv->sink_pad twice
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] video-widget: don't set priv->sink_pad twice
- Date: Fri, 9 Mar 2012 09:48:13 +0000 (UTC)
commit 1dc974bb9620f95d5c3c758f54a97f3c68263aee
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Mar 7 15:59:17 2012 +0100
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
src/empathy-video-widget.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-video-widget.c b/src/empathy-video-widget.c
index 687fab3..adca53e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]