[gnac/devel] Fixed a bug



commit 45cde34a6bbd46f0d8d25807b4cf8b1f9c6c102a
Author: Benoît Dupasquier <bdupasqu src gnome org>
Date:   Sat May 29 17:51:32 2010 +0100

    Fixed a bug

 libgnac/libgnac-converter.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgnac/libgnac-converter.c b/libgnac/libgnac-converter.c
index 590298e..77b7389 100644
--- a/libgnac/libgnac-converter.c
+++ b/libgnac/libgnac-converter.c
@@ -1154,6 +1154,8 @@ libgnac_converter_percentage_cb(LibgnacConverter *converter)
   priv = LIBGNAC_CONVERTER_GET_PRIVATE(converter);
   item = priv->current;
 
+  if (!item) return FALSE;
+
   if (!GST_IS_ELEMENT(item->pipeline)) {
     item->timeout_id = 0;
     return FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]