mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 22:46:24 +00:00
rtspsrc: fix on-npt-stop signal warnings for RDT
The RDT manager does not implement this signal so we need to check for it before trying to connect to it.
This commit is contained in:
parent
d68689255d
commit
8c5a822250
1 changed files with 7 additions and 2 deletions
|
@ -2099,8 +2099,13 @@ gst_rtspsrc_stream_configure_manager (GstRTSPSrc * src, GstRTSPStream * stream,
|
|||
src);
|
||||
g_signal_connect (src->session, "on-timeout", (GCallback) on_timeout,
|
||||
src);
|
||||
g_signal_connect (src->session, "on-npt-stop", (GCallback) on_npt_stop,
|
||||
src);
|
||||
/* FIXME: remove this once the rdtmanager is released */
|
||||
if (g_signal_lookup ("on-npt-stop", G_OBJECT_TYPE (src->session)) != 0) {
|
||||
g_signal_connect (src->session, "on-npt-stop", (GCallback) on_npt_stop,
|
||||
src);
|
||||
} else {
|
||||
GST_INFO_OBJECT (src, "skipping on-npt-stop handling, not implemented");
|
||||
}
|
||||
}
|
||||
|
||||
/* we stream directly to the manager, get some pads. Each RTSP stream goes
|
||||
|
|
Loading…
Reference in a new issue