OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7f931c
)
media: add undocumented exceptions to MediaCodec api.
author
Ronghua Wu
<ronghuawu@google.com>
Tue, 24 Mar 2015 22:50:04 +0000
(15:50 -0700)
committer
Ronghua Wu
<ronghuawu@google.com>
Tue, 24 Mar 2015 22:50:04 +0000
(15:50 -0700)
Change-Id: Ibfbb136134573aa3ee696a7d853678f4444bbbfd
media/java/android/media/MediaCodec.java
patch
|
blob
|
history
diff --git
a/media/java/android/media/MediaCodec.java
b/media/java/android/media/MediaCodec.java
index
a7f33fa
..
fd7fca6
100644
(file)
--- a/
media/java/android/media/MediaCodec.java
+++ b/
media/java/android/media/MediaCodec.java
@@
-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,