Commit 80f2b8cf authored by Thomas Guillem's avatar Thomas Guillem

videotoolbox: don't Restart in case of corrupted blocks

This commit follow f75db2e7.
parent 376de21e
...@@ -1817,7 +1817,7 @@ static int DecodeBlock(decoder_t *p_dec, block_t *p_block) ...@@ -1817,7 +1817,7 @@ static int DecodeBlock(decoder_t *p_dec, block_t *p_block)
if (p_sys->b_vt_feed) if (p_sys->b_vt_feed)
{ {
Drain(p_dec, false); Drain(p_dec, false);
RestartVideoToolbox(p_dec, false); PtsInit(p_dec);
} }
goto skip; goto skip;
} }
......
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