[vlc-commits] vout: fix channel registration when missing spu

Francois Cartegnie git at videolan.org
Fri Jun 23 14:10:13 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jun 23 12:34:41 2017 +0200| [2b98154cb656e61a43ddb9758a23db829d125c9a] | committer: Francois Cartegnie

vout: fix channel registration when missing spu

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

 src/video_output/video_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 3e8f92f589..c1ddc6a4d5 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -380,7 +380,7 @@ void vout_PutSubpicture( vout_thread_t *vout, subpicture_t *subpic )
 }
 int vout_RegisterSubpictureChannel( vout_thread_t *vout )
 {
-    int channel = VOUT_SPU_CHANNEL_OSD;
+    int channel = VOUT_SPU_CHANNEL_AVAIL_FIRST;
 
     vlc_mutex_lock(&vout->p->spu_lock);
     if (vout->p->spu)



More information about the vlc-commits mailing list