summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-08-15 08:18:59 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-08-15 13:44:35 -0300
commitd19f34722313dea3d4e1d13e914d89236c83e2e0 (patch)
treeff7471073d6f4aba70f6263dfc364b7a95b1ae84
parentc63db0e10490ff521a00fbe86414c3c8fb8b45b0 (diff)
Revert "audiodecoder: expose default query handling function"
Apparently I forgot how gobject works, there is no need to expose it directly as one can call it from the parent_class pointer This reverts commit 8a64592481dab985ca520a5b1cb394a609275c60.
-rw-r--r--gst-libs/gst/audio/gstaudiodecoder.c16
-rw-r--r--gst-libs/gst/audio/gstaudiodecoder.h3
-rw-r--r--win32/common/libgstaudio.def1
3 files changed, 3 insertions, 17 deletions
diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c
index 4515d2e33..e0af95488 100644
--- a/gst-libs/gst/audio/gstaudiodecoder.c
+++ b/gst-libs/gst/audio/gstaudiodecoder.c
@@ -386,6 +386,8 @@ static gboolean gst_audio_decoder_negotiate_default (GstAudioDecoder * dec);
static gboolean gst_audio_decoder_negotiate_unlocked (GstAudioDecoder * dec);
static gboolean gst_audio_decoder_handle_gap (GstAudioDecoder * dec,
GstEvent * event);
+static gboolean gst_audio_decoder_sink_query_default (GstAudioDecoder * dec,
+ GstQuery * query);
static gboolean gst_audio_decoder_src_query_default (GstAudioDecoder * dec,
GstQuery * query);
@@ -2635,19 +2637,7 @@ gst_audio_decoder_sink_getcaps (GstAudioDecoder * decoder, GstCaps * filter)
return caps;
}
-/**
- * gst_audio_decoder_sink_query_default:
- * @decoder: a #GstAudioDecoder
- * @query: (transfer none): a #GstQuery
- *
- * Calls the default query handler for #GstAudioDecoder. It is useful
- * when a subclass only want to handle a particular type of query and
- * wants to use the default handler for others.
- *
- * Returns: a boolean, representing if the query was handled.
- * Since: 1.6
- */
-gboolean
+static gboolean
gst_audio_decoder_sink_query_default (GstAudioDecoder * dec, GstQuery * query)
{
GstPad *pad = GST_AUDIO_DECODER_SINK_PAD (dec);
diff --git a/gst-libs/gst/audio/gstaudiodecoder.h b/gst-libs/gst/audio/gstaudiodecoder.h
index cd65b2dbc..1c498eeae 100644
--- a/gst-libs/gst/audio/gstaudiodecoder.h
+++ b/gst-libs/gst/audio/gstaudiodecoder.h
@@ -394,9 +394,6 @@ void gst_audio_decoder_get_allocator (GstAudioDecoder * dec,
void gst_audio_decoder_merge_tags (GstAudioDecoder * dec,
const GstTagList * tags, GstTagMergeMode mode);
-gboolean gst_audio_decoder_sink_query_default (GstAudioDecoder * dec,
- GstQuery * query);
-
void gst_audio_decoder_set_use_default_pad_acceptcaps (GstAudioDecoder * decoder,
gboolean use);
diff --git a/win32/common/libgstaudio.def b/win32/common/libgstaudio.def
index 8ef663ea4..93031a009 100644
--- a/win32/common/libgstaudio.def
+++ b/win32/common/libgstaudio.def
@@ -68,7 +68,6 @@ EXPORTS
gst_audio_decoder_set_plc_aware
gst_audio_decoder_set_tolerance
gst_audio_decoder_set_use_default_pad_acceptcaps
- gst_audio_decoder_sink_query_default
gst_audio_downmix_meta_api_get_type
gst_audio_downmix_meta_get_info
gst_audio_encoder_allocate_output_buffer