[vlc-commits] videotoolbox: don't Restart in case of corrupted blocks

Thomas Guillem git at videolan.org
Wed Dec 13 16:17:43 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Dec 13 16:08:44 2017 +0100| [80f2b8cf5a196d621659558f25e930c9d218d1f1] | committer: Thomas Guillem

videotoolbox: don't Restart in case of corrupted blocks

This commit follow f75db2e7ef22b2bb9bc6e2ade65793163ebea4e5.

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

 modules/codec/videotoolbox.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 1134a1e554..c1d5c7bb7b 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -1817,7 +1817,7 @@ static int DecodeBlock(decoder_t *p_dec, block_t *p_block)
         if (p_sys->b_vt_feed)
         {
             Drain(p_dec, false);
-            RestartVideoToolbox(p_dec, false);
+            PtsInit(p_dec);
         }
         goto skip;
     }



More information about the vlc-commits mailing list