Commit d19f3472 authored by Thiago Santos's avatar Thiago Santos

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 8a645924.
parent c63db0e1
......@@ -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);
......
......@@ -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);
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment