rtsp-sdp: Don't try to use non-initialized values
authorEdward Hervey <bilboed@bilboed.com>
Wed, 27 Nov 2019 14:22:35 +0000 (15:22 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 27 Nov 2019 14:27:36 +0000 (15:27 +0100)
commit5ceb2cf83f1d92384ec8588c522920c91da547df
tree91e27ef10442c3e120ce65d2090ea0f9a8d23e04
parent9c5ca231a64e460ac5c4f282bd0dacfbb6b3f33e
rtsp-sdp: Don't try to use non-initialized values

Only attempt to use the various timing values iif gst_rtsp_stream_get_info()
returns TRUE. Also avoid the whole clock signalling block if we're not
dealing with senders.

CID: 1439524
CID: 1439536
CID: 1439520
gst/rtsp-server/rtsp-sdp.c