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: |