[Bug 765856] New: g-i: use only "ges/ges.h" as c-header for introspection

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 30 17:11:15 UTC 2016


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

            Bug ID: 765856
           Summary: g-i: use only "ges/ges.h" as c-header for
                    introspection
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gst-editing-services
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: aurelien.zanelli at parrot.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I tried to generate binding for vala using gir and current gir files includes
all header files from ges/ which causes vala compilation to fail due to
incomplete types:

/usr/include/gstreamer-1.0/ges/ges-base-effect-clip.h:52:20: erreur : field
‘parent’ has incomplete type
   GESOperationClip parent;
                    ^
/usr/include/gstreamer-1.0/ges/ges-base-effect-clip.h:67:25: erreur : field
‘parent_class’ has incomplete type
   GESOperationClipClass parent_class;
                         ^

Problem is includes are in alphabetical order and ges-base-effect-clip.h is
included before ges-operation-clip.h which defines types, and there is
certainly other definition problems.

In C, we shall only include "ges/ges.h" so for introspection, instead of using
all headers, I propose to only use "ges/ges.h", like in GStreamer core.

-- 
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