[totem] Fix warning when creating a screenshot
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem] Fix warning when creating a screenshot
- Date: Fri, 16 Oct 2009 17:26:26 +0000 (UTC)
commit f2c5681680e8ea377b65d2536d6d7be25fed39b6
Author: Bastien Nocera <hadess hadess net>
Date: Fri Oct 16 18:25:13 2009 +0100
Fix warning when creating a screenshot
The buffer is a GstMiniObject, not a GObject.
src/backend/gstscreenshot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/gstscreenshot.c b/src/backend/gstscreenshot.c
index 6bdd3f1..c25038f 100644
--- a/src/backend/gstscreenshot.c
+++ b/src/backend/gstscreenshot.c
@@ -195,7 +195,7 @@ bvw_frame_conv_convert (GstBuffer * buf, GstCaps * to_caps)
gst_object_unref (pipeline);
bail:
- g_object_unref (buf);
+ gst_buffer_unref (buf);
return result;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]