OSDN Git Service

media: add undocumented exceptions to MediaCodec api.
authorRonghua Wu <ronghuawu@google.com>
Tue, 24 Mar 2015 22:50:04 +0000 (15:50 -0700)
committerRonghua Wu <ronghuawu@google.com>
Tue, 24 Mar 2015 22:50:04 +0000 (15:50 -0700)
Change-Id: Ibfbb136134573aa3ee696a7d853678f4444bbbfd

media/java/android/media/MediaCodec.java

index a7f33fa..fd7fca6 100644 (file)
@@ -540,6 +540,8 @@ final public class MediaCodec {
      * or the flags are not set properly
      * (e.g. missing {@link #CONFIGURE_FLAG_ENCODE} for an encoder).
      * @throws IllegalStateException if not in the Initialized state.
+     * @throws CryptoException upon DRM error.
+     * @throws CodecException upon codec error.
      */
     public void configure(
             MediaFormat format,