Browse Source

videotoolbox: remove restart hack

This is not needed since VideoToolboxNeedsToRestartH* was added.
pull/73/head
Thomas Guillem 8 years ago
parent
commit
ebc6b1c73d
  1. 5
      modules/codec/videotoolbox.m

5
modules/codec/videotoolbox.m

@ -1901,11 +1901,6 @@ static int DecodeBlock(decoder_t *p_dec, block_t *p_block)
/* Session will be started by Late Start code block */
StopVideoToolbox(p_dec);
if (p_dec->fmt_in.i_extra == 0)
{
/* Clean old parameter sets since they may be corrupt */
hxxx_helper_clean(&p_sys->hh);
}
vlc_mutex_lock(&p_sys->lock);
p_sys->vtsession_status = VTSESSION_STATUS_OK;

Loading…
Cancel
Save