[gnac] Fixed a bug
- From: David Joaquim <djoaquim src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnac] Fixed a bug
- Date: Wed, 9 Jun 2010 19:43:28 +0000 (UTC)
commit f47b359eb932b348df867145ce22fa6b7f50fe9a
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]