[Bug 791301] New: cdio: Fails to build with cdio 1.0
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Dec 6 10:23:34 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=791301
Bug ID: 791301
Summary: cdio: Fails to build with cdio 1.0
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: blocker
Priority: Normal
Component: gst-plugins-ugly
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: slomo at coaxion.net
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
gstcdio.c: In function ‘gst_cdio_add_cdtext_field’:
gstcdio.c:55:27: error: incompatible type for argument 1 of ‘cdtext_get_const’
txt = cdtext_get_const (field, cdtext);
^~~~~
In file included from /usr/include/cdio/cdio.h:59:0,
from gstcdio.h:25,
from gstcdio.c:37:
/usr/include/cdio/cdtext.h:262:13: note: expected ‘const cdtext_t * {aka const
struct cdtext_s *}’ but argument is of type ‘cdtext_field_t {aka enum
<anonymous>}’
const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
^~~~~~~~~~~~~~~~
gstcdio.c:55:34: error: incompatible type for argument 2 of ‘cdtext_get_const’
txt = cdtext_get_const (field, cdtext);
^~~~~~
In file included from /usr/include/cdio/cdio.h:59:0,
from gstcdio.h:25,
from gstcdio.c:37:
/usr/include/cdio/cdtext.h:262:13: note: expected ‘cdtext_field_t {aka enum
<anonymous>}’ but argument is of type ‘cdtext_t * {aka struct cdtext_s *}’
const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
^~~~~~~~~~~~~~~~
gstcdio.c:55:9: error: too few arguments to function ‘cdtext_get_const’
txt = cdtext_get_const (field, cdtext);
^~~~~~~~~~~~~~~~
In file included from /usr/include/cdio/cdio.h:59:0,
from gstcdio.h:25,
from gstcdio.c:37:
/usr/include/cdio/cdtext.h:262:13: note: declared here
const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
^~~~~~~~~~~~~~~~
gstcdio.c: In function ‘gst_cdio_get_cdtext’:
gstcdio.c:96:7: error: too many arguments to function ‘cdio_get_cdtext’
t = cdio_get_cdtext (cdio, track);
^~~~~~~~~~~~~~~
In file included from /usr/include/cdio/cdio.h:62:0,
from gstcdio.h:25,
from gstcdio.c:37:
/usr/include/cdio/disc.h:77:13: note: declared here
cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio);
^~~~~~~~~~~~~~~
In file included from gstcdio.c:37:0:
gstcdio.h:29:34: error: ‘CDTEXT_PERFORMER’ undeclared (first use in this
function); did you mean ‘CDTEXT_FIELD_PERFORMER’?
#define CDTEXT_FIELD_PERFORMER CDTEXT_PERFORMER
^
gstcdio.c:103:45: note: in expansion of macro ‘CDTEXT_FIELD_PERFORMER’
gst_cdio_add_cdtext_field (src, t, track, CDTEXT_FIELD_PERFORMER,
^~~~~~~~~~~~~~~~~~~~~~
gstcdio.h:29:34: note: each undeclared identifier is reported only once for
each function it appears in
#define CDTEXT_FIELD_PERFORMER CDTEXT_PERFORMER
^
gstcdio.c:103:45: note: in expansion of macro ‘CDTEXT_FIELD_PERFORMER’
gst_cdio_add_cdtext_field (src, t, track, CDTEXT_FIELD_PERFORMER,
^~~~~~~~~~~~~~~~~~~~~~
gstcdio.h:31:34: error: ‘CDTEXT_TITLE’ undeclared (first use in this function);
did you mean ‘CDTEXT_FIELD_TITLE’?
#define CDTEXT_FIELD_TITLE CDTEXT_TITLE
^
gstcdio.c:105:45: note: in expansion of macro ‘CDTEXT_FIELD_TITLE’
gst_cdio_add_cdtext_field (src, t, track, CDTEXT_FIELD_TITLE, GST_TAG_TITLE,
^~~~~~~~~~~~~~~~~~
gstcdio.c: In function ‘gst_cdio_add_cdtext_album_tags’:
gstcdio.c:121:7: error: too many arguments to function ‘cdio_get_cdtext’
t = cdio_get_cdtext (cdio, 0);
^~~~~~~~~~~~~~~
In file included from /usr/include/cdio/cdio.h:62:0,
from gstcdio.h:25,
from gstcdio.c:37:
/usr/include/cdio/disc.h:77:13: note: declared here
cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio);
^~~~~~~~~~~~~~~
In file included from gstcdio.c:37:0:
gstcdio.h:29:34: error: ‘CDTEXT_PERFORMER’ undeclared (first use in this
function); did you mean ‘CDTEXT_FIELD_PERFORMER’?
#define CDTEXT_FIELD_PERFORMER CDTEXT_PERFORMER
^
gstcdio.c:128:41: note: in expansion of macro ‘CDTEXT_FIELD_PERFORMER’
gst_cdio_add_cdtext_field (src, t, 0, CDTEXT_FIELD_PERFORMER,
^~~~~~~~~~~~~~~~~~~~~~
gstcdio.h:31:34: error: ‘CDTEXT_TITLE’ undeclared (first use in this function);
did you mean ‘CDTEXT_FIELD_TITLE’?
#define CDTEXT_FIELD_TITLE CDTEXT_TITLE
^
gstcdio.c:130:41: note: in expansion of macro ‘CDTEXT_FIELD_TITLE’
gst_cdio_add_cdtext_field (src, t, 0, CDTEXT_FIELD_TITLE, GST_TAG_ALBUM,
^~~~~~~~~~~~~~~~~~
gstcdio.h:30:34: error: ‘CDTEXT_GENRE’ undeclared (first use in this function);
did you mean ‘CDTEXT_TITLE’?
#define CDTEXT_FIELD_GENRE CDTEXT_GENRE
^
gstcdio.c:132:41: note: in expansion of macro ‘CDTEXT_FIELD_GENRE’
gst_cdio_add_cdtext_field (src, t, 0, CDTEXT_FIELD_GENRE, GST_TAG_GENRE,
^~~~~~~~~~~~~~~~~~
--
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