]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mediacodecdec.h
lavc/mediacodec: rely on buffer flags to detect end of stream
[ffmpeg] / libavcodec / mediacodecdec.h
index 36fdbf54fe11b640329926201b27f5e7df46559d..646b628168c1ca60bd552f4b1fa696916783264b 100644 (file)
@@ -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;