[totem/gnome-2-28] Fix warning when creating a screenshot
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem/gnome-2-28] Fix warning when creating a screenshot
- Date: Fri, 16 Oct 2009 17:26:21 +0000 (UTC)
commit 9d80161d2b4a135846b9fc9a3b2877daca2b10ff
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]