[vlc-commits] Qt4: /dev/dvb/adapter is Linux DVB, not just Linux

Rémi Denis-Courmont git at videolan.org
Sat Aug 11 22:24:19 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 11 23:23:36 2012 +0300| [052974831b2b50682a37933c992d2606fe1845b3] | committer: Rémi Denis-Courmont

Qt4: /dev/dvb/adapter is Linux DVB, not just Linux

This is also used on *BSD systems.

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

 modules/gui/qt4/components/open_panels.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 387912c..60616eda 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -968,7 +968,7 @@ void CaptureOpenPanel::initialize()
 
     dvbCard = new QSpinBox;
     dvbCard->setAlignment( Qt::AlignRight );
-#ifdef __linux__
+#ifdef __unix__
     dvbCard->setPrefix( "/dev/dvb/adapter" );
 #endif
     dvbDevLayout->addWidget( dvbDeviceLabel, 0, 0 );



More information about the vlc-commits mailing list