summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0077.patch
blob: 43f29876082d73d30d062da9f4002964b6ff66f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Byron Campen <docfaraday@gmail.com>
Date: Fri, 7 Apr 2023 20:28:00 +0000
Subject: Bug 1819048: Remove this bad assertion. r=webrtc-reviewers,jib

Differential Revision: https://phabricator.services.mozilla.com/D174978
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/5a52e1b0c808edfda82f0abea668699eb68098dc
---
 video/task_queue_frame_decode_scheduler.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/video/task_queue_frame_decode_scheduler.cc b/video/task_queue_frame_decode_scheduler.cc
index cd109c2932..6dd7b47f17 100644
--- a/video/task_queue_frame_decode_scheduler.cc
+++ b/video/task_queue_frame_decode_scheduler.cc
@@ -37,7 +37,8 @@ void TaskQueueFrameDecodeScheduler::ScheduleFrame(
     uint32_t rtp,
     FrameDecodeTiming::FrameSchedule schedule,
     FrameReleaseCallback cb) {
-  RTC_DCHECK(!stopped_) << "Can not schedule frames after stopped.";
+  // Mozilla modification, until https://bugs.webrtc.org/14944 is fixed
+  //RTC_DCHECK(!stopped_) << "Can not schedule frames after stopped.";
   RTC_DCHECK(!scheduled_rtp_.has_value())
       << "Can not schedule two frames for release at the same time.";
   RTC_DCHECK(cb);