Fails to parse complex multi-line string constant
Constant in question is
#define GST_GL_COLOR_CONVERT_VIDEO_CAPS \
"video/x-raw(" GST_CAPS_FEATURE_MEMORY_GL_MEMORY "), " \
"format = (string) " GST_GL_COLOR_CONVERT_FORMATS ", " \
"width = " GST_VIDEO_SIZE_RANGE ", " \
"height = " GST_VIDEO_SIZE_RANGE ", " \
"framerate = " GST_VIDEO_FPS_RANGE ", " \
"texture-target = (string) { 2D, rectangle, external-oes } " \
" ; " \
"video/x-raw(" GST_CAPS_FEATURE_MEMORY_GL_MEMORY "," \
GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION "), " \
"format = (string) " GST_GL_COLOR_CONVERT_FORMATS ", " \
"width = " GST_VIDEO_SIZE_RANGE ", " \
"height = " GST_VIDEO_SIZE_RANGE ", " \
"framerate = " GST_VIDEO_FPS_RANGE ", " \
"texture-target = (string) { 2D, rectangle, external-oes }"
All the other #define
s in there are also strings. This is what ends up in the .gir file
<constant name="GL_COLOR_CONVERT_VIDEO_CAPS"
value="video/x-raw("
c:type="GST_GL_COLOR_CONVERT_VIDEO_CAPS">
<doc xml:space="preserve">The currently supported #GstCaps that can be converted</doc>
<type name="utf8" c:type="gchar*"/>
</constant>