summaryrefslogtreecommitdiff
path: root/libavcodec/mediacodec_wrapper.h
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-05-31 11:00:12 +0200
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-07 10:22:20 +0200
commit93f4d1646e9441b89e19073d6ad8e187bd705640 (patch)
tree370933dccaf241c00eb321cebed7b6b7ba1e85db /libavcodec/mediacodec_wrapper.h
parentcb89fd2334d38d3fffa03da3f4851d3a4fc11f55 (diff)
downloadffmpeg-93f4d1646e9441b89e19073d6ad8e187bd705640.tar.gz
lavc/mediacodec: bypass width/height restrictions when looking for a decoder
Codec width/height restrictions seem hardcoded at the OMX level and seem arbitrary. Bypassing those restrictions allows a device to decode streams at higher resolutions. For example it allows a Nexus 5 to decode h264 streams with a resolution higher than 1920x1080.
Diffstat (limited to 'libavcodec/mediacodec_wrapper.h')
-rw-r--r--libavcodec/mediacodec_wrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mediacodec_wrapper.h b/libavcodec/mediacodec_wrapper.h
index a804b616da..36cd258e06 100644
--- a/libavcodec/mediacodec_wrapper.h
+++ b/libavcodec/mediacodec_wrapper.h
@@ -52,7 +52,7 @@
*
*/
-char *ff_AMediaCodecList_getCodecNameByType(const char *mime, int width, int height, void *log_ctx);
+char *ff_AMediaCodecList_getCodecNameByType(const char *mime, void *log_ctx);
struct FFAMediaFormat;
typedef struct FFAMediaFormat FFAMediaFormat;