Chromium Code Reviews| Index: media/video/ffmpeg_video_decode_engine.cc |
| =================================================================== |
| --- media/video/ffmpeg_video_decode_engine.cc (revision 91170) |
| +++ 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) { |