mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gst/: Fix compiler warnings shown by Forte.
Original commit message from CVS: * gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc): * gst/librfb/rfbbuffer.h: * gst/librfb/rfbdecoder.c: (rfb_socket_get_buffer): * gst/mpegvideoparse/mpegvideoparse.c: (gst_mpegvideoparse_chain): * gst/nsf/nes6502.c: (nes6502_execute): * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps): * gst/real/gstrealvideodec.c: (open_library): * gst/real/gstrealvideodec.h: * gst/rtpmanager/gstrtpsession.c: (create_recv_rtp_sink), (create_recv_rtcp_sink), (create_send_rtp_sink): Fix compiler warnings shown by Forte.
This commit is contained in:
parent
4556ccb666
commit
c924d4a466
1 changed files with 3 additions and 3 deletions
|
@ -1356,7 +1356,7 @@ create_recv_rtp_sink (GstRtpSession * rtpsession)
|
||||||
gst_pad_set_chain_function (rtpsession->recv_rtp_sink,
|
gst_pad_set_chain_function (rtpsession->recv_rtp_sink,
|
||||||
gst_rtp_session_chain_recv_rtp);
|
gst_rtp_session_chain_recv_rtp);
|
||||||
gst_pad_set_event_function (rtpsession->recv_rtp_sink,
|
gst_pad_set_event_function (rtpsession->recv_rtp_sink,
|
||||||
gst_rtp_session_event_recv_rtp_sink);
|
(GstPadEventFunction) gst_rtp_session_event_recv_rtp_sink);
|
||||||
gst_pad_set_setcaps_function (rtpsession->recv_rtp_sink,
|
gst_pad_set_setcaps_function (rtpsession->recv_rtp_sink,
|
||||||
gst_rtp_session_sink_setcaps);
|
gst_rtp_session_sink_setcaps);
|
||||||
gst_pad_set_internal_link_function (rtpsession->recv_rtp_sink,
|
gst_pad_set_internal_link_function (rtpsession->recv_rtp_sink,
|
||||||
|
@ -1392,7 +1392,7 @@ create_recv_rtcp_sink (GstRtpSession * rtpsession)
|
||||||
gst_pad_set_chain_function (rtpsession->recv_rtcp_sink,
|
gst_pad_set_chain_function (rtpsession->recv_rtcp_sink,
|
||||||
gst_rtp_session_chain_recv_rtcp);
|
gst_rtp_session_chain_recv_rtcp);
|
||||||
gst_pad_set_event_function (rtpsession->recv_rtcp_sink,
|
gst_pad_set_event_function (rtpsession->recv_rtcp_sink,
|
||||||
gst_rtp_session_event_recv_rtcp_sink);
|
(GstPadEventFunction) gst_rtp_session_event_recv_rtcp_sink);
|
||||||
gst_pad_set_active (rtpsession->recv_rtcp_sink, TRUE);
|
gst_pad_set_active (rtpsession->recv_rtcp_sink, TRUE);
|
||||||
gst_element_add_pad (GST_ELEMENT_CAST (rtpsession),
|
gst_element_add_pad (GST_ELEMENT_CAST (rtpsession),
|
||||||
rtpsession->recv_rtcp_sink);
|
rtpsession->recv_rtcp_sink);
|
||||||
|
@ -1424,7 +1424,7 @@ create_send_rtp_sink (GstRtpSession * rtpsession)
|
||||||
gst_pad_set_getcaps_function (rtpsession->send_rtp_sink,
|
gst_pad_set_getcaps_function (rtpsession->send_rtp_sink,
|
||||||
gst_rtp_session_getcaps_send_rtp);
|
gst_rtp_session_getcaps_send_rtp);
|
||||||
gst_pad_set_event_function (rtpsession->send_rtp_sink,
|
gst_pad_set_event_function (rtpsession->send_rtp_sink,
|
||||||
gst_rtp_session_event_send_rtp_sink);
|
(GstPadEventFunction) gst_rtp_session_event_send_rtp_sink);
|
||||||
gst_pad_set_internal_link_function (rtpsession->send_rtp_sink,
|
gst_pad_set_internal_link_function (rtpsession->send_rtp_sink,
|
||||||
gst_rtp_session_internal_links);
|
gst_rtp_session_internal_links);
|
||||||
gst_pad_set_active (rtpsession->send_rtp_sink, TRUE);
|
gst_pad_set_active (rtpsession->send_rtp_sink, TRUE);
|
||||||
|
|
Loading…
Reference in a new issue