[vlc-commits] access: bluray: redisplay picture when flushed from vout heap
Francois Cartegnie
git at videolan.org
Thu Nov 8 21:55:48 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Nov 8 15:26:06 2018 +0100| [5b7b1fef427af9dc70c8ec26b6f9d4568db2c05a] | committer: Francois Cartegnie
access: bluray: redisplay picture when flushed from vout heap
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b7b1fef427af9dc70c8ec26b6f9d4568db2c05a
---
modules/access/bluray.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 7743d6c257..3d60dfba42 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1744,7 +1744,9 @@ static void blurayActivateOverlay(demux_t *p_demux, int plane)
* We must NOT use vout_PutSubpicture if a picture is already displayed.
*/
vlc_mutex_lock(&ov->lock);
- if (ov->status >= Displayed && p_sys->bdj.p_video_es) {
+ if (ov->status >= Displayed && ov->i_channel != -1 &&
+ p_sys->bdj.p_video_es)
+ {
ov->status = Outdated;
vlc_mutex_unlock(&ov->lock);
return;
More information about the vlc-commits
mailing list