[Bug 764177] New: Error in gst/gstmemory.h and gst/gstallocator.h
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 25 02:48:54 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=764177
Bug ID: 764177
Summary: Error in gst/gstmemory.h and gst/gstallocator.h
Classification: Platform
Product: GStreamer
Version: 1.x
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: don't know
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: brant.zbn at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Hello,
I'm using ubuntu 15.04 and I get libgstreamer-dev from apt-get.
When I compile VLC gstream module, I get error:
/usr/include/gstreamer-1.0/gst/gstmemory.h:55:35: error:
‘GST_MINI_OBJECT_FLAG_LOCK_READONLY’ undeclared here (not in a function)
GST_MEMORY_FLAG_READONLY = GST_MINI_OBJECT_FLAG_LOCK_READONLY,
And I found it's because gstmemory.h missing "#include gstminiobject.h"
I add it. Then I get:
In file included from codec/gstreamer/gstvlcpictureplaneallocator.c:27:0:
/usr/include/gstreamer-1.0/gst/gstallocator.h:89:39: error:
‘GST_OBJECT_FLAG_LAST’ undeclared here (not in a function)
GST_ALLOCATOR_FLAG_CUSTOM_ALLOC = (GST_OBJECT_FLAG_LAST << 0),
So I add #include gstobject.h in gstallocator.h
Then no error in the last VLC gstreamer compiling.
My libgstreamer1.0-dev version is 1.4.5-1
Sorry for my poor English, :)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list