[telepathy-stream-engine/master] Verify content of correct variable

Olivier Crête olivier.crete at collabora.co.uk
Mon Oct 26 10:29:46 PDT 2009


---
 src/videosink.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/videosink.c b/src/videosink.c
index 1cba818..6b059fc 100644
--- a/src/videosink.c
+++ b/src/videosink.c
@@ -306,7 +306,7 @@ make_video_sink (TpStreamEngineVideoSink *self, gboolean is_preview)
   self->priv->sinkpad = gst_bin_find_unconnected_pad (GST_BIN (bin),
       GST_PAD_SINK);
 
-  if (!pad)
+  if (!self->priv->sinkpad)
     {
       g_warning ("Could not find unconnected sink pad in the source bin");
       gst_object_unref (bin);
-- 
1.5.6.5



More information about the telepathy-commits mailing list