[HbbTV] Don't use dual decoding RoseL / PontusML 23/315623/2
authorMark Toller <mark.toller@samsung.com>
Tue, 3 Dec 2024 15:26:34 +0000 (15:26 +0000)
committerBot Blink <blinkbot@samsung.com>
Thu, 5 Dec 2024 08:42:44 +0000 (08:42 +0000)
If FPS is > 30, don't use dual decoding.
Copy of https://archive.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/321173/

Change-Id: I293c95f98ed0acc6518ab89a8fd0eefd0117f1a6

tizen_src/chromium_impl/media/filters/hardware_resource_helper.cc

index 47ae4f3019446d48f34a2d1315dd787dc52d0c0a..67433e47179dc5bb4095a52be885671b7f94675f 100644 (file)
@@ -136,13 +136,14 @@ DecoderStatePtr HardwareResourceHelper::GetSuitableResource(
         }
       }
 
-      if (chipset == "NIKEL") {
+      if ((chipset == "NIKEL") || (chipset == "PONTUSML") ||
+          (chipset == "ROSEL")) {
         if (fps > 30) {
           if (state->GetDecoderType(kMainDecoder)) {
             state->SetRequiresBothDecoders(true);
             available_states.clear();
             available_states.push_back(state);
-            LOG(INFO) << "Nike-L does not support dual decode for > 30FPS";
+            LOG(INFO) << chipset << " does not support dual decode for > 30FPS";
             break;
           }
         }