[vlc-commits] videotoolbox: remove restart hack

Thomas Guillem git at videolan.org
Tue Jul 24 14:07:40 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | 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;



More information about the vlc-commits mailing list