Commit 6437c80f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Disable direct-rendering on ProRes

Crashes in the SSSE3 asm
(cherry picked from commit 8b914fcd)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 149ea596
...@@ -302,6 +302,9 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context, ...@@ -302,6 +302,9 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
(p_sys->p_codec->capabilities & CODEC_CAP_DR1) && (p_sys->p_codec->capabilities & CODEC_CAP_DR1) &&
/* No idea why ... but this fixes flickering on some TSCC streams */ /* No idea why ... but this fixes flickering on some TSCC streams */
p_sys->i_codec_id != CODEC_ID_TSCC && p_sys->i_codec_id != CODEC_ID_CSCD && p_sys->i_codec_id != CODEC_ID_TSCC && p_sys->i_codec_id != CODEC_ID_CSCD &&
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 53, 15, 0 )
p_sys->i_codec_id != CODEC_ID_PRORES &&
#endif
#if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 68, 2 ) ) && (LIBAVCODEC_VERSION_INT < AV_VERSION_INT( 52, 100, 1 ) ) #if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 68, 2 ) ) && (LIBAVCODEC_VERSION_INT < AV_VERSION_INT( 52, 100, 1 ) )
/* avcodec native vp8 decode doesn't handle EMU_EDGE flag, and I /* avcodec native vp8 decode doesn't handle EMU_EDGE flag, and I
don't have idea howto implement fallback to libvpx decoder */ don't have idea howto implement fallback to libvpx decoder */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment