mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
tests: webrtcbin: Fix repaired-stream-id handling in simulcast test
The test was attempting to add the same stream-id extension twice, probably some unfinished copy/paste. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6615>
This commit is contained in:
parent
15434ce51d
commit
97d4c56c8f
1 changed files with 5 additions and 3 deletions
|
@ -5192,10 +5192,12 @@ add_simulcast_audio_test_src_harness (GstHarness * h, guint n_rid,
|
||||||
g_signal_emit_by_name (payloader, "add-extension", ext);
|
g_signal_emit_by_name (payloader, "add-extension", ext);
|
||||||
gst_clear_object (&ext);
|
gst_clear_object (&ext);
|
||||||
}
|
}
|
||||||
if (n_rid > 0 && stream_ext_id != G_MAXUINT) {
|
if (n_rid > 0 && repaired_ext_id != G_MAXUINT) {
|
||||||
ext = gst_rtp_header_extension_create_from_uri (RTPHDREXT_STREAM_ID);
|
ext =
|
||||||
|
gst_rtp_header_extension_create_from_uri
|
||||||
|
(RTPHDREXT_REPAIRED_STREAM_ID);
|
||||||
fail_unless (ext);
|
fail_unless (ext);
|
||||||
gst_rtp_header_extension_set_id (ext, stream_ext_id);
|
gst_rtp_header_extension_set_id (ext, repaired_ext_id);
|
||||||
g_object_set (ext, "rid", rid, NULL);
|
g_object_set (ext, "rid", rid, NULL);
|
||||||
g_signal_emit_by_name (payloader, "add-extension", ext);
|
g_signal_emit_by_name (payloader, "add-extension", ext);
|
||||||
gst_clear_object (&ext);
|
gst_clear_object (&ext);
|
||||||
|
|
Loading…
Reference in a new issue