vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Fri Jul 24 16:24:39 
2015 +0200| [47fa89f2a4ef302db67ae8a10027a7fc8e2e286a] | committer: Thomas 
Guillem

mediacodec: fix typo

Try a delayed opening only if csd changed.

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

 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 fab53a3..68e79cb 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -942,7 +942,7 @@ static picture_t *DecodeVideo(decoder_t *p_dec, block_t 
**pp_block)
                     b_error = true;
             }
         }
-        if (!p_sys->api->b_started)
+        if (b_csd_changed)
             b_delayed_start = true;
     }
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to