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

Thomas Guillem git at videolan.org
Wed Dec 13 16:18:39 CET 2017


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Dec 13 16:08:44 2017 +0100| [3d0ffa7c72bfe874fd9ffb425d8e13357ad264aa] | committer: Thomas Guillem

videotoolbox: don't Restart in case of corrupted blocks

This commit follow f75db2e7ef22b2bb9bc6e2ade65793163ebea4e5.

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

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

 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