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

Unified Diff: content/renderer/media_recorder/video_track_recorder.cc

Issue 2901863003: Merge 59: Support NV12 textures in VideoTrackRecorder (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media_recorder/video_track_recorder.cc
diff --git a/content/renderer/media_recorder/video_track_recorder.cc b/content/renderer/media_recorder/video_track_recorder.cc
index 49def8d16071b449fbe87e534409b1c15cf78fee..2e633bf847061d857c9518c5f2e7a4f5b6546f37 100644
--- a/content/renderer/media_recorder/video_track_recorder.cc
+++ b/content/renderer/media_recorder/video_track_recorder.cc
@@ -192,7 +192,8 @@ void VideoTrackRecorder::Encoder::StartFrameEncode(
if (!(video_frame->format() == media::PIXEL_FORMAT_I420 ||
video_frame->format() == media::PIXEL_FORMAT_YV12 ||
video_frame->format() == media::PIXEL_FORMAT_ARGB ||
- video_frame->format() == media::PIXEL_FORMAT_YV12A)) {
+ video_frame->format() == media::PIXEL_FORMAT_YV12A ||
+ video_frame->format() == media::PIXEL_FORMAT_NV12)) {
NOTREACHED() << media::VideoPixelFormatToString(video_frame->format());
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698