aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mediacodecdec.h
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-20 16:41:21 +0200
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-23 14:14:15 +0200
commitb316ebf46dd6b025bf116751cd6e0c6b0149f48c (patch)
tree0f46e06d5402d56740d482290ca49a23921b5b02 /libavcodec/mediacodecdec.h
parent30e3a27119294f7353c7a1e6d6387dbef792c203 (diff)
downloadffmpeg-b316ebf46dd6b025bf116751cd6e0c6b0149f48c.tar.gz
lavc/mediacodec: rely on buffer flags to detect end of stream
Diffstat (limited to 'libavcodec/mediacodecdec.h')
-rw-r--r--libavcodec/mediacodecdec.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mediacodecdec.h b/libavcodec/mediacodecdec.h
index 36fdbf54fe..646b628168 100644
--- a/libavcodec/mediacodecdec.h
+++ b/libavcodec/mediacodecdec.h
@@ -41,6 +41,7 @@ typedef struct MediaCodecDecContext {
int started;
int flushing;
+ int eos;
int width;
int height;
@@ -53,8 +54,6 @@ typedef struct MediaCodecDecContext {
int crop_left;
int crop_right;
- int queued_buffer_nb;
- int queued_buffer_max;
uint64_t dequeued_buffer_nb;
int first_buffer;