From 74bc0dd386669662bc748c32a3955ba2cf9c6879 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Tue, 14 Jun 2022 13:29:06 +0000 Subject: [PATCH] Fix segv: Restart playback after connection lost during playback --- src/videoomx.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/videoomx.cc b/src/videoomx.cc index c2dc0ba..95c7f24 100644 --- a/src/videoomx.cc +++ b/src/videoomx.cc @@ -2379,6 +2379,7 @@ int VideoOMX::DeAllocateCodecsOMX() error=OMX_FreeHandle(omx_vid_rend); if (dodeint) error=OMX_FreeHandle(omx_vid_deint); omx_vid_dec=NULL; + omx_vid_stalled = false; clock_mutex.unlock(); destroyClock(); if (error!=OMX_ErrorNone) { -- 2.39.5