fixup! [TTVD] Fix detection of bidirectional frames in low delay mode 74/323074/3
authorJakub Gajownik <j.gajownik2@samsung.com>
Thu, 10 Apr 2025 14:42:42 +0000 (16:42 +0200)
committerBot Blink <blinkbot@samsung.com>
Fri, 25 Apr 2025 00:14:18 +0000 (00:14 +0000)
Change-Id: Id3c436edf811bfcec1885125c8b854c0301c5dc4
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
media/filters/tizen/ttvd_video_decoder_impl.cc

index b1d66b90b884ff1b90bfab8577945105fbcdce57..449b2194a91235b34753df8127c9c02c529821f6 100644 (file)
@@ -784,6 +784,10 @@ bool TTvdVideoDecoderImpl::ShouldTriggerLazyFrame(
 }
 
 bool TTvdVideoDecoderImpl::CanHaveBidirectionalFrames() const {
+  // WebRTC does not support bidirectional frames at all.
+  if (config_.is_rtc()) {
+    return false;
+  }
   return config_.has_bidirectional_frames;
 }