[vlc-devel] commit: Forgot to test when ZVBI is not compiled in. (Jean-Paul Saman )

git version control git at videolan.org
Wed Jun 18 12:24:15 CEST 2008


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Wed Jun 18 12:24:23 2008 +0200| [a51138ae60bcc527d7a1aa135817f317d4def011]

Forgot to test when ZVBI is not compiled in.

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

 modules/gui/qt4/input_manager.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 0783519..f2dbd23 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -671,7 +671,9 @@ static int ChangeSPU( vlc_object_t *p_this, const char *var, vlc_value_t o,
 {
     InputManager *im = (InputManager*)param;
     im->b_has_subs = true;
+#ifdef ZVBI_COMPILED
     im->telexToggle( im->b_has_subs );
+#endif
     return VLC_SUCCESS;
 }
 




More information about the vlc-devel mailing list