0020-videotoolbox-temporarily-disable-H263-decoding-on-iO.patch 994 B

123456789101112131415161718192021222324252627282930
  1. From 9c9867038a6800b7cfab9f10c1dbc9b1b659b0ee Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Thu, 22 Sep 2016 13:03:17 +0200
  4. Subject: [PATCH 20/20] videotoolbox: temporarily disable H263 decoding on iOS
  5. ---
  6. modules/codec/videotoolbox.m | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
  9. index 54a42bac06..71b1ed4b52 100644
  10. --- a/modules/codec/videotoolbox.m
  11. +++ b/modules/codec/videotoolbox.m
  12. @@ -198,11 +198,11 @@ static CMVideoCodecType CodecPrecheck(decoder_t *p_dec)
  13. break;
  14. }
  15. +#if !TARGET_OS_IPHONE
  16. case VLC_CODEC_H263:
  17. codec = kCMVideoCodecType_H263;
  18. break;
  19. -#if !TARGET_OS_IPHONE
  20. /* there are no DV or ProRes decoders on iOS, so bailout early */
  21. case VLC_CODEC_PRORES:
  22. /* the VT decoder can't differenciate between the ProRes flavors, so we do it */
  23. --
  24. 2.11.0