fixup! [M120 Migration][EMSS] WASM Player implementation ported from Tizen 8.0 94/318994/3
authorPiotr Bałut <p.balut@samsung.com>
Tue, 24 Sep 2024 12:08:48 +0000 (14:08 +0200)
committerBot Blink <blinkbot@samsung.com>
Fri, 11 Oct 2024 16:25:01 +0000 (16:25 +0000)
Removed an assertion that prevented replacing a pending decoder. An
assumption that pending decoders can't change were incorrect becacuse
it's possible when there are multiple candidate decoders and some of
them cannot be used for a particular configuration.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1545
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Change-Id: I6379f719f09eeba65a8af8548723b478735baeab

tizen_src/chromium_impl/content/renderer/media/tizen/elementary_media_stream_source/worker_thread/ms_decoding_stream.cc

index e70ccc5ae074b2319427963624784ca031b63617..9ab97a4269107ece015a69e8f246750fdc760b7f 100644 (file)
@@ -286,7 +286,6 @@ void DecodingStream<StreamType>::InitializeDecoder(
     return;
   }
 
-  EMSS_LOG_ASSERT(!pending_decoder_);
   pending_decoder_ = std::move(media_decoder);
   Traits::Initialize(
       *pending_decoder_, config,