[gstreamermm: 20/167] minors in bufferlist
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm: 20/167] minors in bufferlist
- Date: Tue, 3 Sep 2013 19:20:46 +0000 (UTC)
commit 53856f0a013f410a9137f442f14040274cd527cf
Author: Marcin Kolny at Flytronic <marcin kolny flytronic pl>
Date: Wed Jul 24 16:38:00 2013 +0200
minors in bufferlist
gstreamer/src/bufferlist.ccg | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gstreamer/src/bufferlist.ccg b/gstreamer/src/bufferlist.ccg
index 798679b..4c9096c 100644
--- a/gstreamer/src/bufferlist.ccg
+++ b/gstreamer/src/bufferlist.ccg
@@ -23,7 +23,7 @@ _PINCLUDE(gstreamermm/private/miniobject_p.h)
extern "C"
{
-static bool BufferList_Foreach_gstreamermm_callback(GstBuffer** buffer, tguint idx, void* data)
+static gboolean BufferList_Foreach_gstreamermm_callback(GstBuffer** buffer, guint idx, void* data)
{
Gst::BufferList::SlotForeach* the_slot =
static_cast<Gst::BufferList::SlotForeach*>(data);
@@ -36,7 +36,7 @@ static bool BufferList_Foreach_gstreamermm_callback(GstBuffer** buffer, tguint i
// Call the slot which can modify the buffer (ie. set it to a new one or
// clear it altogether).
bool result =
- static_cast<bool>((*the_slot)(temp, group, idx));
+ static_cast<bool>((*the_slot)(temp, idx));
// Set the reference to the buffer according to how the temp buffer has
// been altered.
@@ -61,7 +61,7 @@ static bool BufferList_Foreach_gstreamermm_callback(GstBuffer** buffer, tguint i
Glib::exception_handlers_invoke();
}
- return GST_BUFFER_LIST_CONTINUE;
+ return true; // continue
}
} // extern "C"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]