Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1010)

Unified Diff: services/media/framework_ffmpeg/ffmpeg_demux.cc

Issue 1923763002: Motown: Ffmpeg video decoder (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/media/framework_ffmpeg/ffmpeg_demux.cc
diff --git a/services/media/framework_ffmpeg/ffmpeg_demux.cc b/services/media/framework_ffmpeg/ffmpeg_demux.cc
index d89b2f9a024b52e1f1cf5eab7ac20c7dc0cfcc70..7c363799f6ed78b27649ed11caf9101b0f88c62e 100644
--- a/services/media/framework_ffmpeg/ffmpeg_demux.cc
+++ b/services/media/framework_ffmpeg/ffmpeg_demux.cc
@@ -235,8 +235,8 @@ void FfmpegDemuxImpl::Worker() {
{
std::unique_lock<std::mutex> lock(mutex_);
- if (!packet_requested_ && !terminating_ &&
- seek_position_ == kNotSeeking) {
+ while (!packet_requested_ && !terminating_ &&
+ seek_position_ == kNotSeeking) {
condition_variable_.wait(lock);
}

Powered by Google App Engine
This is Rietveld 408576698