Commit c63db0e1 authored by Thiago Santos's avatar Thiago Santos

Revert "videodecoder: 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 ea9b6a7e.
parent 065968c3
...@@ -479,6 +479,8 @@ static GstFlowReturn gst_video_decoder_parse_available (GstVideoDecoder * dec, ...@@ -479,6 +479,8 @@ static GstFlowReturn gst_video_decoder_parse_available (GstVideoDecoder * dec,
gboolean at_eos, gboolean new_buffer); gboolean at_eos, gboolean new_buffer);
static gboolean gst_video_decoder_negotiate_unlocked (GstVideoDecoder * static gboolean gst_video_decoder_negotiate_unlocked (GstVideoDecoder *
decoder); decoder);
static gboolean gst_video_decoder_sink_query_default (GstVideoDecoder * decoder,
GstQuery * query);
static gboolean gst_video_decoder_src_query_default (GstVideoDecoder * decoder, static gboolean gst_video_decoder_src_query_default (GstVideoDecoder * decoder,
GstQuery * query); GstQuery * query);
...@@ -1806,19 +1808,7 @@ gst_video_decoder_sink_getcaps (GstVideoDecoder * decoder, GstCaps * filter) ...@@ -1806,19 +1808,7 @@ gst_video_decoder_sink_getcaps (GstVideoDecoder * decoder, GstCaps * filter)
return caps; return caps;
} }
/** static gboolean
* gst_video_decoder_sink_query_default:
* @decoder: a #GstVideoDecoder
* @query: (transfer none): a #GstQuery
*
* Calls the default query handler for #GstVideoDecoder. 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
gst_video_decoder_sink_query_default (GstVideoDecoder * decoder, gst_video_decoder_sink_query_default (GstVideoDecoder * decoder,
GstQuery * query) GstQuery * query)
{ {
......
...@@ -424,13 +424,9 @@ GstCaps * gst_video_decoder_proxy_getcaps (GstVideoDecoder * decoder, ...@@ -424,13 +424,9 @@ GstCaps * gst_video_decoder_proxy_getcaps (GstVideoDecoder * decoder,
GstCaps * caps, GstCaps * caps,
GstCaps * filter); GstCaps * filter);
gboolean gst_video_decoder_sink_query_default (GstVideoDecoder * decoder,
GstQuery * query);
void gst_video_decoder_set_use_default_pad_acceptcaps (GstVideoDecoder * decoder, void gst_video_decoder_set_use_default_pad_acceptcaps (GstVideoDecoder * decoder,
gboolean use); gboolean use);
G_END_DECLS G_END_DECLS
#endif #endif
......
...@@ -130,7 +130,6 @@ EXPORTS ...@@ -130,7 +130,6 @@ EXPORTS
gst_video_decoder_set_output_state gst_video_decoder_set_output_state
gst_video_decoder_set_packetized gst_video_decoder_set_packetized
gst_video_decoder_set_use_default_pad_acceptcaps gst_video_decoder_set_use_default_pad_acceptcaps
gst_video_decoder_sink_query_default
gst_video_dither_flags_get_type gst_video_dither_flags_get_type
gst_video_dither_free gst_video_dither_free
gst_video_dither_line gst_video_dither_line
......
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