mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
stream: handle NULL seqnum and rtptime arguments
This commit is contained in:
parent
274d4b017f
commit
9048d87ff4
1 changed files with 5 additions and 1 deletions
|
@ -1915,7 +1915,11 @@ gst_rtsp_stream_get_rtpinfo (GstRTSPStream * stream,
|
|||
!g_object_class_find_property (payobjclass, "timestamp"))
|
||||
goto no_stats;
|
||||
|
||||
g_object_get (priv->payloader, "seqnum", seq, "timestamp", rtptime, NULL);
|
||||
if (seq)
|
||||
g_object_get (priv->payloader, "seqnum", seq, NULL);
|
||||
|
||||
if (rtptime)
|
||||
g_object_get (priv->payloader, "timestamp", rtptime, NULL);
|
||||
|
||||
if (running_time)
|
||||
*running_time = GST_CLOCK_TIME_NONE;
|
||||
|
|
Loading…
Reference in a new issue