[vlc-commits] mediacodec: increase drain max delay

Thomas Guillem git at videolan.org
Thu Apr 20 15:10:25 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Apr 20 13:45:49 2017 +0200| [2fe2f7268f5048c86c92c5cfcc210d7a594a0d28] | committer: Thomas Guillem

mediacodec: increase drain max delay

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2fe2f7268f5048c86c92c5cfcc210d7a594a0d28
---

 modules/codec/omxil/mediacodec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index 3658dee8bf..fde5cea190 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -1344,7 +1344,7 @@ static int QueueBlockLocked(decoder_t *p_dec, block_t *p_in_block,
         /* Wait for the OutThread to stop (and process all remaining output
          * frames. Use a timeout here since we can't know if all decoders will
          * behave correctly. */
-        mtime_t deadline = mdate() + INT64_C(1000000);
+        mtime_t deadline = mdate() + INT64_C(3000000);
         while (!p_sys->b_aborted && !p_sys->b_drained
             && vlc_cond_timedwait(&p_sys->dec_cond, &p_sys->lock, deadline) == 0);
 



More information about the vlc-commits mailing list