[vlc-commits] videotoolbox: remove restart hack

Thomas Guillem git at videolan.org
Tue Jul 24 17:11:12 CEST 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jul 24 14:06:47 2018 +0200| [f7e8a4e55652cbecb2f7b5bd3e491e0d84ade821] | committer: Thomas Guillem

videotoolbox: remove restart hack

This is not needed since VideoToolboxNeedsToRestartH* was added.

(cherry picked from commit ebc6b1c73d053197d3465e0f116a976301f8b7b1)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

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

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index c55c33422b..a63ac7a62f 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -1898,11 +1898,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;



More information about the vlc-commits mailing list