vlc | branch: master | Thomas Guillem <[email protected]> | Tue Jul 24 14:06:47 
2018 +0200| [ebc6b1c73d053197d3465e0f116a976301f8b7b1] | committer: Thomas 
Guillem

videotoolbox: remove restart hack

This is not needed since VideoToolboxNeedsToRestartH* was added.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ebc6b1c73d053197d3465e0f116a976301f8b7b1
---

 modules/codec/videotoolbox.m | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 9a10815ed8..bafcffa90f 100644
--- a/modules/codec/videotoolbox.m
+++ b/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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to