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

Side by Side Diff: media/gpu/vt_video_encode_accelerator_mac.cc

Issue 1965273003: Fix include path for moved thread_task_runner_handle.h header in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « media/gpu/vt_video_decode_accelerator_mac.cc ('k') | media/mojo/services/mojo_audio_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/gpu/vt_video_encode_accelerator_mac.h" 5 #include "media/gpu/vt_video_encode_accelerator_mac.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/mac/mac_util.h" 9 #include "base/mac/mac_util.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "media/base/mac/coremedia_glue.h" 11 #include "media/base/mac/coremedia_glue.h"
12 #include "media/base/mac/corevideo_glue.h" 12 #include "media/base/mac/corevideo_glue.h"
13 #include "media/base/mac/video_frame_mac.h" 13 #include "media/base/mac/video_frame_mac.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 namespace { 17 namespace {
18 18
19 // TODO(emircan): Check if we can find the actual system capabilities via 19 // TODO(emircan): Check if we can find the actual system capabilities via
20 // creating VTCompressionSessions with varying requirements. 20 // creating VTCompressionSessions with varying requirements.
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 (encoder_thread_.IsRunning() && 547 (encoder_thread_.IsRunning() &&
548 encoder_thread_task_runner_->BelongsToCurrentThread())); 548 encoder_thread_task_runner_->BelongsToCurrentThread()));
549 549
550 if (compression_session_) { 550 if (compression_session_) {
551 videotoolbox_glue_->VTCompressionSessionInvalidate(compression_session_); 551 videotoolbox_glue_->VTCompressionSessionInvalidate(compression_session_);
552 compression_session_.reset(); 552 compression_session_.reset();
553 } 553 }
554 } 554 }
555 555
556 } // namespace media 556 } // namespace media
OLDNEW
« no previous file with comments | « media/gpu/vt_video_decode_accelerator_mac.cc ('k') | media/mojo/services/mojo_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698