2 * Copyright (C) 1999 Erik Walthinsen <omega@cse.ogi.edu>
3 * Copyright (C) 2006 Tim-Philipp Müller <tim centricular net>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
21 #ifndef __GST_CDIO_H__
22 #define __GST_CDIO_H__
25 #include <cdio/cdio.h>
26 #include <cdio/cdtext.h>
27 #include <cdio/logging.h>
29 #if LIBCDIO_VERSION_NUM <= 83 && LIBCDIO_VERSION_NUM >= 76
30 #define CDTEXT_FIELD_PERFORMER CDTEXT_PERFORMER
31 #define CDTEXT_FIELD_GENRE CDTEXT_GENRE
32 #define CDTEXT_FIELD_TITLE CDTEXT_TITLE
36 void gst_cdio_add_cdtext_field (GstObject * src,
40 const gchar * gst_tag,
41 GstTagList ** p_tags);
43 GstTagList * gst_cdio_get_cdtext (GstObject * src,
44 #if LIBCDIO_VERSION_NUM > 83 || LIBCDIO_VERSION_NUM < 76
51 void gst_cdio_add_cdtext_album_tags (GstObject * src,
52 #if LIBCDIO_VERSION_NUM > 83 || LIBCDIO_VERSION_NUM < 76
58 void gst_cdio_log_handler (cdio_log_level_t level, const char *msg);
60 #endif /* __GST_CDIO_H__ */