mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
Fix compilation warning on Forte
This commit is contained in:
parent
6b1e08f277
commit
5337bc03be
1 changed files with 5 additions and 5 deletions
|
@ -1947,15 +1947,15 @@ remove_decoders (GstPlayBaseBin * bin)
|
||||||
/* Disconnect all the signal handlers we attached to the decodebin before
|
/* Disconnect all the signal handlers we attached to the decodebin before
|
||||||
* we dispose of it */
|
* we dispose of it */
|
||||||
g_signal_handlers_disconnect_by_func (decoder,
|
g_signal_handlers_disconnect_by_func (decoder,
|
||||||
G_CALLBACK (decodebin_element_added_cb), bin);
|
(gpointer) (decodebin_element_added_cb), bin);
|
||||||
g_signal_handlers_disconnect_by_func (decoder,
|
g_signal_handlers_disconnect_by_func (decoder,
|
||||||
G_CALLBACK (decodebin_element_removed_cb), bin);
|
(gpointer) (decodebin_element_removed_cb), bin);
|
||||||
g_signal_handlers_disconnect_by_func (decoder,
|
g_signal_handlers_disconnect_by_func (decoder,
|
||||||
G_CALLBACK (new_decoded_pad), bin);
|
(gpointer) (new_decoded_pad), bin);
|
||||||
g_signal_handlers_disconnect_by_func (decoder,
|
g_signal_handlers_disconnect_by_func (decoder,
|
||||||
G_CALLBACK (no_more_pads), bin);
|
(gpointer) (no_more_pads), bin);
|
||||||
g_signal_handlers_disconnect_by_func (decoder,
|
g_signal_handlers_disconnect_by_func (decoder,
|
||||||
G_CALLBACK (unknown_type), bin);
|
(gpointer) (unknown_type), bin);
|
||||||
|
|
||||||
gst_element_set_state (decoder, GST_STATE_NULL);
|
gst_element_set_state (decoder, GST_STATE_NULL);
|
||||||
gst_bin_remove (GST_BIN_CAST (bin), decoder);
|
gst_bin_remove (GST_BIN_CAST (bin), decoder);
|
||||||
|
|
Loading…
Reference in a new issue