From fc7e7f5ccc37440022cbfb29e102c6ce9c20f07c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Mon, 13 Dec 2021 16:57:06 -0500 Subject: [PATCH] webrtc stats: Remove duplicate structure get Part-of: --- subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcstats.c | 1 - 1 file changed, 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcstats.c b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcstats.c index ed9a1aa..5b18fc8 100644 --- a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcstats.c +++ b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcstats.c @@ -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, -- 2.7.4