From 267a068e701e4f2c2b5806357fb8776471bd20ad Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sat, 16 Sep 2006 21:54:48 +0000 Subject: [PATCH] ext/gnomevfs/gstgnomevfssrc.c: Add docs about icydemux usage in connection with gnomevfssrc Original commit message from CVS: * ext/gnomevfs/gstgnomevfssrc.c: Add docs about icydemux usage in connection with gnomevfssrc * ext/libvisual/visual.c: * ext/ogg/gstoggaviparse.c: * ext/ogg/gstoggdemux.c: * ext/ogg/gstoggmux.c: * ext/ogg/gstoggparse.c: * gst-libs/gst/audio/gstaudiofiltertemplate.c: * gst-libs/gst/audio/gstaudiosink.c: * gst-libs/gst/audio/gstaudiosrc.c: * gst/audiorate/gstaudiorate.c: More G_OBJECT macro fixing. * gst/audiotestsrc/gstaudiotestsrc.h: Fix wrong info in header due to copy & paste --- ChangeLog | 19 +++++++++++++++++++ ext/gnomevfs/gstgnomevfssrc.c | 4 ++++ ext/libvisual/visual.c | 2 +- ext/ogg/gstoggaviparse.c | 2 +- ext/ogg/gstoggdemux.c | 4 ++-- ext/ogg/gstoggmux.c | 2 +- ext/ogg/gstoggparse.c | 2 +- gst-libs/gst/audio/gstaudiofiltertemplate.c | 2 +- gst-libs/gst/audio/gstaudiosink.c | 2 +- gst-libs/gst/audio/gstaudiosrc.c | 2 +- gst/audiorate/gstaudiorate.c | 2 +- gst/audiotestsrc/gstaudiotestsrc.h | 6 +----- 12 files changed, 34 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1030f59d09..92507c5212 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2006-09-17 Stefan Kost + + * ext/gnomevfs/gstgnomevfssrc.c: + Add docs about icydemux usage in connection with gnomevfssrc + + * ext/libvisual/visual.c: + * ext/ogg/gstoggaviparse.c: + * ext/ogg/gstoggdemux.c: + * ext/ogg/gstoggmux.c: + * ext/ogg/gstoggparse.c: + * gst-libs/gst/audio/gstaudiofiltertemplate.c: + * gst-libs/gst/audio/gstaudiosink.c: + * gst-libs/gst/audio/gstaudiosrc.c: + * gst/audiorate/gstaudiorate.c: + More G_OBJECT macro fixing. + + * gst/audiotestsrc/gstaudiotestsrc.h: + Fix wrong info in header due to copy & paste + 2006-09-15 Wim Taymans * gst-libs/gst/audio/gstbaseaudiosink.c: diff --git a/ext/gnomevfs/gstgnomevfssrc.c b/ext/gnomevfs/gstgnomevfssrc.c index 33a15f9af9..35a5e67570 100644 --- a/ext/gnomevfs/gstgnomevfssrc.c +++ b/ext/gnomevfs/gstgnomevfssrc.c @@ -35,6 +35,10 @@ * the GnomeVFS library. Common protocols are 'file', 'http', 'ftp', or 'smb'. * * + * In case the element-gnomevfssrc::iradio-mode is enabled, the #ICYDemux should + * be used as the follow-up element. + * + * * Example pipeline: * * gst-launch -v gnomevfssrc location=file:///home/joe/foo.xyz ! fakesink diff --git a/ext/libvisual/visual.c b/ext/libvisual/visual.c index 873c7e96f8..7359d9fe33 100644 --- a/ext/libvisual/visual.c +++ b/ext/libvisual/visual.c @@ -30,7 +30,7 @@ #define GST_TYPE_VISUAL (gst_visual_get_type()) #define GST_IS_VISUAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VISUAL)) #define GST_VISUAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VISUAL,GstVisual)) -#define GST_IS_VISUAL_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VISUAL)) +#define GST_IS_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VISUAL)) #define GST_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VISUAL,GstVisualClass)) #define GST_VISUAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VISUAL, GstVisualClass)) diff --git a/ext/ogg/gstoggaviparse.c b/ext/ogg/gstoggaviparse.c index 9fa0701e45..8288830219 100644 --- a/ext/ogg/gstoggaviparse.c +++ b/ext/ogg/gstoggaviparse.c @@ -50,7 +50,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_ogg_avi_parse_debug); #define GST_OGG_AVI_PARSE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OGG_AVI_PARSE, GstOggAviParse)) #define GST_OGG_AVI_PARSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OGG_AVI_PARSE, GstOggAviParse)) #define GST_IS_OGG_AVI_PARSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OGG_AVI_PARSE)) -#define GST_IS_OGG_AVI_PARSE_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_AVI_PARSE)) +#define GST_IS_OGG_AVI_PARSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_AVI_PARSE)) static GType gst_ogg_avi_parse_get_type (void); diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 77fe4dddba..9e6b6ab2e8 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -55,7 +55,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_ogg_demux_setup_debug); #define GST_OGG_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OGG_PAD, GstOggPad)) #define GST_OGG_PAD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OGG_PAD, GstOggPad)) #define GST_IS_OGG_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OGG_PAD)) -#define GST_IS_OGG_PAD_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_PAD)) +#define GST_IS_OGG_PAD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_PAD)) typedef struct _GstOggPad GstOggPad; typedef struct _GstOggPadClass GstOggPadClass; @@ -64,7 +64,7 @@ typedef struct _GstOggPadClass GstOggPadClass; #define GST_OGG_DEMUX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OGG_DEMUX, GstOggDemux)) #define GST_OGG_DEMUX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OGG_DEMUX, GstOggDemux)) #define GST_IS_OGG_DEMUX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OGG_DEMUX)) -#define GST_IS_OGG_DEMUX_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_DEMUX)) +#define GST_IS_OGG_DEMUX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_DEMUX)) static GType gst_ogg_demux_get_type (void); diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 041bbbb601..cdcb18eabd 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -39,7 +39,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_ogg_mux_debug); #define GST_OGG_MUX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OGG_MUX, GstOggMux)) #define GST_OGG_MUX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OGG_MUX, GstOggMux)) #define GST_IS_OGG_MUX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OGG_MUX)) -#define GST_IS_OGG_MUX_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_MUX)) +#define GST_IS_OGG_MUX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_MUX)) /* This isn't generally what you'd want with an end-time macro, because technically the end time of a buffer with invalid duration is invalid. But diff --git a/ext/ogg/gstoggparse.c b/ext/ogg/gstoggparse.c index 0a9418c53d..9dbc43120f 100644 --- a/ext/ogg/gstoggparse.c +++ b/ext/ogg/gstoggparse.c @@ -49,7 +49,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_ogg_parse_debug); #define GST_OGG_PARSE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OGG_PARSE, GstOggParse)) #define GST_OGG_PARSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OGG_PARSE, GstOggParse)) #define GST_IS_OGG_PARSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OGG_PARSE)) -#define GST_IS_OGG_PARSE_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_PARSE)) +#define GST_IS_OGG_PARSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OGG_PARSE)) static GType gst_ogg_parse_get_type (void); diff --git a/gst-libs/gst/audio/gstaudiofiltertemplate.c b/gst-libs/gst/audio/gstaudiofiltertemplate.c index ce0cef3474..c671c043b7 100644 --- a/gst-libs/gst/audio/gstaudiofiltertemplate.c +++ b/gst-libs/gst/audio/gstaudiofiltertemplate.c @@ -51,7 +51,7 @@ typedef struct _GstAudioFilterTemplateClass GstAudioFilterTemplateClass; (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_FILTER_TEMPLATE,GstAudioFilterTemplateClass)) #define GST_IS_AUDIO_FILTER_TEMPLATE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_FILTER_TEMPLATE)) -#define GST_IS_AUDIO_FILTER_TEMPLATE_CLASS(obj) \ +#define GST_IS_AUDIO_FILTER_TEMPLATE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_FILTER_TEMPLATE)) struct _GstAudioFilterTemplate diff --git a/gst-libs/gst/audio/gstaudiosink.c b/gst-libs/gst/audio/gstaudiosink.c index 2afe4d9f4e..72c27b5fd7 100644 --- a/gst-libs/gst/audio/gstaudiosink.c +++ b/gst-libs/gst/audio/gstaudiosink.c @@ -39,7 +39,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_audio_sink_debug); ((GstAudioRingBuffer *)obj) #define GST_IS_AUDIORING_BUFFER(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIORING_BUFFER)) -#define GST_IS_AUDIORING_BUFFER_CLASS(obj)\ +#define GST_IS_AUDIORING_BUFFER_CLASS(klass)\ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIORING_BUFFER)) typedef struct _GstAudioRingBuffer GstAudioRingBuffer; diff --git a/gst-libs/gst/audio/gstaudiosrc.c b/gst-libs/gst/audio/gstaudiosrc.c index 9813c8604e..262f08e257 100644 --- a/gst-libs/gst/audio/gstaudiosrc.c +++ b/gst-libs/gst/audio/gstaudiosrc.c @@ -37,7 +37,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_audio_src_debug); (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_AUDIORING_BUFFER, GstAudioRingBufferClass)) #define GST_IS_AUDIORING_BUFFER(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIORING_BUFFER)) -#define GST_IS_AUDIORING_BUFFER_CLASS(obj)\ +#define GST_IS_AUDIORING_BUFFER_CLASS(klass)\ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIORING_BUFFER)) typedef struct _GstAudioRingBuffer GstAudioRingBuffer; diff --git a/gst/audiorate/gstaudiorate.c b/gst/audiorate/gstaudiorate.c index 6ee94d19d6..959be46700 100644 --- a/gst/audiorate/gstaudiorate.c +++ b/gst/audiorate/gstaudiorate.c @@ -36,7 +36,7 @@ GST_DEBUG_CATEGORY_STATIC (audio_rate_debug); (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_RATE,GstAudioRate)) #define GST_IS_AUDIO_RATE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_RATE)) -#define GST_IS_AUDIO_RATE_CLASS(obj) \ +#define GST_IS_AUDIO_RATE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_RATE)) typedef struct _GstAudioRate GstAudioRate; diff --git a/gst/audiotestsrc/gstaudiotestsrc.h b/gst/audiotestsrc/gstaudiotestsrc.h index a9ef9f2f63..d0e921cea6 100644 --- a/gst/audiotestsrc/gstaudiotestsrc.h +++ b/gst/audiotestsrc/gstaudiotestsrc.h @@ -1,8 +1,5 @@ /* GStreamer - * Copyright (C) 1999,2000 Erik Walthinsen - * 2000 Wim Taymans - * - * gstsinesrc.h: + * Copyright (C) 2005 Stefan Kost * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -20,7 +17,6 @@ * Boston, MA 02111-1307, USA. */ - #ifndef __GST_AUDIO_TEST_SRC_H__ #define __GST_AUDIO_TEST_SRC_H__