From 5a0fff76f3d792366446db89e22bcf90055f4938 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Tue, 6 Mar 2012 15:55:26 +0100 Subject: [PATCH] audiodecoder: add baseclass _CAST macro --- gst-libs/gst/audio/gstaudiodecoder.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/audio/gstaudiodecoder.h b/gst-libs/gst/audio/gstaudiodecoder.h index ba4fff348..bde1cfc40 100644 --- a/gst-libs/gst/audio/gstaudiodecoder.h +++ b/gst-libs/gst/audio/gstaudiodecoder.h @@ -41,6 +41,8 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_DECODER)) #define GST_IS_AUDIO_DECODER_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_DECODER)) +#define GST_AUDIO_DECODER_CAST(obj) \ + ((GstAudioDecoder *)(obj)) /** * GST_AUDIO_DECODER_SINK_NAME: -- 2.34.1