mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
f3436e4ba7
Differential Revision: https://phabricator.services.mozilla.com/D226966
25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
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 624f8abf4a..dcc83d4a8b 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);
|