[vlc-commits] decoder: Fix --disable-sout builds
Hugo Beauzée-Luyssen
git at videolan.org
Mon Oct 1 13:21:04 CEST 2018
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | 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 )
More information about the vlc-commits
mailing list