v4l2allocator: fix gst_v4l2_allocator_stop prototype
authorAurélien Zanelli <aurelien.zanelli@parrot.com>
Fri, 7 Nov 2014 16:06:49 +0000 (17:06 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Mon, 1 Dec 2014 15:08:54 +0000 (10:08 -0500)
gst_v4l2_allocator_stop returns a GstV4l2Return, not a gboolean.

https://bugzilla.gnome.org/show_bug.cgi?id=739792

sys/v4l2/gstv4l2allocator.h

index 3f7b33def6256d2aeafc2ac71a603a7b748ea829..8200e03d423f5d1f31133b1952db5f0b97d727f4 100644 (file)
@@ -123,7 +123,7 @@ GstV4l2Allocator*    gst_v4l2_allocator_new            (GstObject *parent, gint
 guint                gst_v4l2_allocator_start          (GstV4l2Allocator * allocator,
                                                         guint32 count, guint32 memory);
 
-gboolean             gst_v4l2_allocator_stop           (GstV4l2Allocator * allocator);
+GstV4l2Return        gst_v4l2_allocator_stop           (GstV4l2Allocator * allocator);
 
 GstV4l2MemoryGroup*  gst_v4l2_allocator_alloc_mmap     (GstV4l2Allocator * allocator);