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

Unified Diff: media/video/ffmpeg_video_decode_engine.cc

Issue 6993042: ffmpeg chromium glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: removing divx and xdiv Created 9 years, 6 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: media/video/ffmpeg_video_decode_engine.cc
===================================================================
--- media/video/ffmpeg_video_decode_engine.cc (revision 91003)
+++ media/video/ffmpeg_video_decode_engine.cc (working copy)
@@ -127,9 +127,8 @@
}
frame_queue_available_.push_back(video_frame);
}
-
+ codec_context_->thread_count = decode_threads;
if (codec &&
- avcodec_thread_init(codec_context_, decode_threads) >= 0 &&
avcodec_open(codec_context_, codec) >= 0 &&
av_frame_.get() &&
buffer_allocated) {

Powered by Google App Engine
This is Rietveld 408576698