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

Side by Side Diff: media/filters/decrypting_demuxer_stream.cc

Issue 231283005: Add live mode detection in WebM MediaSource parser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/filters/decrypting_demuxer_stream.h" 5 #include "media/filters/decrypting_demuxer_stream.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 demuxer_stream_->video_decoder_config(); 379 demuxer_stream_->video_decoder_config();
380 video_config_.Initialize(input_video_config.codec(), 380 video_config_.Initialize(input_video_config.codec(),
381 input_video_config.profile(), 381 input_video_config.profile(),
382 input_video_config.format(), 382 input_video_config.format(),
383 input_video_config.coded_size(), 383 input_video_config.coded_size(),
384 input_video_config.visible_rect(), 384 input_video_config.visible_rect(),
385 input_video_config.natural_size(), 385 input_video_config.natural_size(),
386 input_video_config.extra_data(), 386 input_video_config.extra_data(),
387 input_video_config.extra_data_size(), 387 input_video_config.extra_data_size(),
388 false, // Output video is not encrypted. 388 false, // Output video is not encrypted.
389 false, // Live mode is off.
scherkus (not reviewing) 2014/04/10 21:11:49 ditto, except now it's live mode
Sergey Ulanov 2014/04/10 23:10:07 Done.
389 false); 390 false);
390 break; 391 break;
391 } 392 }
392 393
393 default: 394 default:
394 NOTREACHED(); 395 NOTREACHED();
395 return; 396 return;
396 } 397 }
397 } 398 }
398 399
399 } // namespace media 400 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698