Commit 547ce8c4 authored by Thomas Guillem's avatar Thomas Guillem

codec: videotoolbox: don't handle interlaced video on iOS

See http://www.openradar.me/30669495
parent 3411f8ba
......@@ -1406,6 +1406,15 @@ static int DecodeBlock(decoder_t *p_dec, block_t *p_block)
vlc_mutex_lock(&p_sys->lock);
#if TARGET_OS_IPHONE
if (p_block->i_flags & BLOCK_FLAG_INTERLACED_MASK)
{
msg_Warn(p_dec, "VT decoder doesn't handle deinterlacing on iOS, "
"aborting...");
p_sys->vtsession_status = VTSESSION_STATUS_ABORT;
}
#endif
if (p_sys->vtsession_status == VTSESSION_STATUS_RESTART)
{
msg_Warn(p_dec, "restarting vt session (dec callback failed)");
......
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