[vlc-commits] daala: fix likely plugin descriptor compile issue without sout

Lyndon Brown git at videolan.org
Thu Sep 17 22:33:53 CEST 2020


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sat Mar 23 01:44:29 2019 +0000| [801dc62e81872a8402e451240d5b8a75273f0591] | committer: Tristan Matthews

daala: fix likely plugin descriptor compile issue without sout

Signed-off-by: Tristan Matthews <tmatth at videolan.org>

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

 modules/codec/daala.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/daala.c b/modules/codec/daala.c
index 61c6d53b6e..be3826796e 100644
--- a/modules/codec/daala.c
+++ b/modules/codec/daala.c
@@ -147,8 +147,10 @@ vlc_module_begin ()
     add_string( ENC_CFG_PREFIX "chroma-fmt", "420", ENC_CHROMAFMT_TEXT,
                 ENC_CHROMAFMT_LONGTEXT, false )
     change_string_list( enc_chromafmt_list, enc_chromafmt_list_text )
+#endif
 vlc_module_end ()
 
+#ifdef ENABLE_SOUT
 static const char *const ppsz_enc_options[] = {
     "quality", "keyint", "chroma-fmt", NULL
 };



More information about the vlc-commits mailing list