mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
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 8a64592481
.
This commit is contained in:
parent
c63db0e104
commit
d19f347223
3 changed files with 3 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue