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

Unified Diff: media/base/demuxer_stream.h

Issue 10910293: Add is_encrypted() in VideoDecoderConfig. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | media/base/mock_filters.h » ('j') | media/filters/chunk_demuxer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer_stream.h
diff --git a/media/base/demuxer_stream.h b/media/base/demuxer_stream.h
index 30ef1ec7e6cbda97fe2417b6de538501b21f5ec3..87b2e160cae2ef37e3b2b8b937b4a88977764bf3 100644
--- a/media/base/demuxer_stream.h
+++ b/media/base/demuxer_stream.h
@@ -67,6 +67,11 @@ class MEDIA_EXPORT DemuxerStream
// Returns the type of stream.
virtual Type type() = 0;
+ // Returns whether the stream is potentially encrypted.
+ // Note that in a potentially encrypted video stream, individual buffers
+ // can be encrypted or not encrypted.
+ virtual bool is_encrypted() = 0;
acolwell GONE FROM CHROMIUM 2012/09/15 00:25:24 Why is this method necessary especially if it only
ddorwin 2012/09/15 00:39:40 Seems there should be some better indication of "p
ddorwin 2012/09/15 00:39:40 We reinitialize decoders when the config changes b
ddorwin 2012/09/15 03:12:04 After discussing this offline, I remembered that w
+
virtual void EnableBitstreamConverter() = 0;
protected:
« no previous file with comments | « no previous file | media/base/mock_filters.h » ('j') | media/filters/chunk_demuxer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698