After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 584264 - glue/adapter.c doesn't build
glue/adapter.c doesn't build
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-sharp
git master
Other All
: Normal normal
: 0.9.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-30 09:05 UTC by Maarten Bosmans
Modified: 2009-09-11 08:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maarten Bosmans 2009-05-30 09:05:50 UTC
I don't think gst_buffer_new_and_try_alloc even exists, at least not in my GStreamer.

Solution:

--- a/gstreamer-sharp/glue/adapter.c
+++ b/gstreamer-sharp/glue/adapter.c
@@ -3,7 +3,7 @@

 GstBuffer *
 gstsharp_gst_adapter_peek_buffer (GstAdapter *adapter, guint size) {
-  GstBuffer *ret = gst_buffer_new_and_try_alloc (size);
+  GstBuffer *ret = gst_buffer_try_new_and_alloc (size);

   if (ret == NULL)
     return NULL;
Comment 1 Sebastian Dröge (slomo) 2009-05-30 09:09:49 UTC
ommit 150423e10d33dd800d57f1e778002d397d00c5d1
Author: Maarten Bosmans <mkbosmans@gmail.com>
Date:   Sat May 30 11:09:02 2009 +0200

    Fix GstAdapter glue code
    
    Fixes bug #584264.