mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
webrtc stats: Remove duplicate structure get
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1448>
This commit is contained in:
parent
f35435f1f7
commit
fc7e7f5ccc
1 changed files with 0 additions and 1 deletions
|
@ -739,7 +739,6 @@ _get_stats_from_transport_channel (GstWebRTCBin * webrtc,
|
|||
stats = gst_value_get_structure (val);
|
||||
|
||||
/* skip foreign sources */
|
||||
gst_structure_get (stats, "ssrc", G_TYPE_UINT, &stats_ssrc, NULL);
|
||||
if (gst_structure_get_uint (stats, "ssrc", &stats_ssrc) &&
|
||||
ssrc == stats_ssrc)
|
||||
_get_stats_from_rtp_source_stats (webrtc, stream, stats, codec_id,
|
||||
|
|
Loading…
Reference in a new issue