[vlc-commits] mediacodec: reload if interlaced is not supported

Thomas Guillem git at videolan.org
Thu Feb 9 15:57:28 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb  9 14:16:01 2017 +0100| [38d1871c8e6dcb89ba2a50fd0bb5312f409c929c] | committer: Thomas Guillem

mediacodec: reload if interlaced is not supported

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

 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 765c70e..87f15d0 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -1389,7 +1389,7 @@ static int DecodeBlock(decoder_t *p_dec, block_t *p_in_block)
              * videos. See OMXCodec_GetQuirks() for a white list of decoders
              * that supported interlaced videos before Android 21. */
             msg_Warn(p_dec, "codec doesn't support interlaced videos");
-            goto end;
+            goto reload;
         }
 
         /* Parse input block */



More information about the vlc-commits mailing list