[vlc-commits] videotoolbox: disable H263 decoding on iOS

Felix Paul Kühne git at videolan.org
Thu Feb 16 14:34:09 CET 2017


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Sep 22 13:03:17 2016 +0200| [353d3fef10403f2dd4988950bb2ce4d21e149640] | committer: Thomas Guillem

videotoolbox: disable H263 decoding on iOS

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 modules/codec/videotoolbox.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 0c0f840..5be1df4 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -199,11 +199,11 @@ static CMVideoCodecType CodecPrecheck(decoder_t *p_dec)
 
             break;
         }
+#if !TARGET_OS_IPHONE
         case VLC_CODEC_H263:
             codec = kCMVideoCodecType_H263;
             break;
 
-#if !TARGET_OS_IPHONE
             /* there are no DV or ProRes decoders on iOS, so bailout early */
         case VLC_CODEC_PRORES:
             /* the VT decoder can't differenciate between the ProRes flavors, so we do it */



More information about the vlc-commits mailing list