From 28a200be30f8fc51b1d0a86343e7e599ccffb40c Mon Sep 17 00:00:00 2001 From: Jochen Henneberg Date: Mon, 18 Nov 2024 10:45:40 +0100 Subject: [PATCH] fmp4mux: Fixed comment and removed commented code from test Part-of: --- mux/fmp4/src/fmp4mux/imp.rs | 2 +- mux/fmp4/tests/tests.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mux/fmp4/src/fmp4mux/imp.rs b/mux/fmp4/src/fmp4mux/imp.rs index 016ed072..1470e608 100644 --- a/mux/fmp4/src/fmp4mux/imp.rs +++ b/mux/fmp4/src/fmp4mux/imp.rs @@ -849,7 +849,7 @@ impl FMP4Mux { // Caps/tag changes are allowed only in case that the // header-update-mode is None. // - // CAUTION: This function logs a warning if operation is not + // CAUTION: This function logs an error if operation is not // allowed so it should be evaluated only in case the caps/tags // would change otherwise (e. g. right-most operand in boolean // expressions). diff --git a/mux/fmp4/tests/tests.rs b/mux/fmp4/tests/tests.rs index 3803cf28..af5aacc8 100644 --- a/mux/fmp4/tests/tests.rs +++ b/mux/fmp4/tests/tests.rs @@ -2580,8 +2580,6 @@ fn test_language_change_at_gop_boundary() { assert_eq!(h.push(buffer), Ok(gst::FlowSuccess::Ok)); } - //test_caps_changed_buffers(&mut h, 30, 10, 10, 100, true, false); - h.crank_single_clock_wait().unwrap(); // Initial fragment with HEADER and DISCONT test_caps_changed_verify(&mut h, 1 + 1 + 10, true, false);