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

Unified Diff: media/cast/sender/video_encoder_impl.cc

Issue 450693006: VideoToolbox encoder for cast senders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modernize to C++11 per the rules at http://chromium-cpp.appspot.com/ Created 6 years, 3 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/cast/sender/video_encoder_impl.cc
diff --git a/media/cast/sender/video_encoder_impl.cc b/media/cast/sender/video_encoder_impl.cc
index 4cbb769f0deb934153b96677e59599fbe6af9db8..5fcb0b5cff81da5a063982169d1672740cc1f011 100644
--- a/media/cast/sender/video_encoder_impl.cc
+++ b/media/cast/sender/video_encoder_impl.cc
@@ -73,6 +73,7 @@ VideoEncoderImpl::VideoEncoderImpl(
const VideoSenderConfig& video_config,
int max_unacked_frames)
: cast_environment_(cast_environment) {
+ CHECK(cast_environment_->HasVideoThread());
if (video_config.codec == CODEC_VIDEO_VP8) {
#if !defined(MEDIA_DISABLE_LIBVPX)
encoder_.reset(new Vp8Encoder(video_config, max_unacked_frames));

Powered by Google App Engine
This is Rietveld 408576698