vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Mon Oct  1 
13:06:25 2018 +0200| [5449dcc170ffb087da97ca030ff99efe408241bb] | committer: 
Hugo Beauzée-Luyssen

decoder: Fix --disable-sout builds

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

 src/input/decoder.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 42987de083..a280eacc72 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -2545,8 +2545,10 @@ int input_DecoderSetSpuHighlight( decoder_t *dec,
     struct decoder_owner *p_owner = dec_get_owner( dec );
     assert( dec->fmt_in.i_cat == SPU_ES );
 
+#ifdef ENABLE_SOUT
     if( p_owner->p_sout_input )
         sout_InputControl( p_owner->p_sout_input, 
SOUT_INPUT_SET_SPU_HIGHLIGHT, spu_hl );
+#endif
 
     vlc_mutex_lock( &p_owner->lock );
     if( !p_owner->p_vout )

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to