mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gst-libs/gst/cdda/gstcddabasesrc.*: Make the GType of GstCDDABaseSrcMode public for bindings.
Original commit message from CVS: * gst-libs/gst/cdda/gstcddabasesrc.c: * gst-libs/gst/cdda/gstcddabasesrc.h: Make the GType of GstCDDABaseSrcMode public for bindings. Fixes bug #566837.
This commit is contained in:
parent
be87292514
commit
ba03cb6080
3 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-01-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst-libs/gst/cdda/gstcddabasesrc.c:
|
||||
* gst-libs/gst/cdda/gstcddabasesrc.h:
|
||||
Make the GType of GstCDDABaseSrcMode public for bindings.
|
||||
Fixes bug #566837.
|
||||
|
||||
2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -104,8 +104,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_cdda_base_src_debug);
|
|||
#define TIME_INTERVAL_FROM_SECTORS(sectors) ((SAMPLES_PER_SECTOR * sectors * GST_SECOND) / 44100)
|
||||
#define SECTORS_FROM_TIME_INTERVAL(dtime) (dtime * 44100 / (SAMPLES_PER_SECTOR * GST_SECOND))
|
||||
|
||||
#define GST_TYPE_CDDA_BASE_SRC_MODE (gst_cdda_base_src_mode_get_type ())
|
||||
|
||||
enum
|
||||
{
|
||||
ARG_0,
|
||||
|
@ -160,7 +158,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
|||
static GstFormat track_format;
|
||||
static GstFormat sector_format;
|
||||
|
||||
static GType
|
||||
GType
|
||||
gst_cdda_base_src_mode_get_type (void)
|
||||
{
|
||||
static GType mode_type; /* 0 */
|
||||
|
|
|
@ -54,6 +54,8 @@ typedef enum {
|
|||
GST_CDDA_BASE_SRC_MODE_CONTINUOUS /* stream = whole disc */
|
||||
} GstCddaBaseSrcMode;
|
||||
|
||||
#define GST_TYPE_CDDA_BASE_SRC_MODE (gst_cdda_base_src_mode_get_type ())
|
||||
|
||||
/**
|
||||
* GstCddaBaseSrcTrack:
|
||||
* @is_audio: Whether this is an audio track
|
||||
|
@ -134,6 +136,7 @@ struct _GstCddaBaseSrcClass {
|
|||
};
|
||||
|
||||
GType gst_cdda_base_src_get_type (void);
|
||||
GType gst_cdda_base_src_mode_get_type (void);
|
||||
|
||||
gboolean gst_cdda_base_src_add_track (GstCddaBaseSrc * src,
|
||||
GstCddaBaseSrcTrack * track);
|
||||
|
|
Loading…
Reference in a new issue