diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-09-05 13:15:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-09-05 13:15:51 +0200 |
commit | 679dcebbb2091f8deb456f25bc263b1a7579524c (patch) | |
tree | f2fd6cb29f5cbed5acb9c249c112fbfb07c12f7b /vdr.c | |
parent | 483f6c397054f496bfe326e85c5e9cdc4b57921e (diff) | |
download | vdr-679dcebbb2091f8deb456f25bc263b1a7579524c.tar.gz vdr-679dcebbb2091f8deb456f25bc263b1a7579524c.tar.bz2 |
Fixed setting the primary device in case none of the devices provides an MPEG decoder
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.167 2003/09/05 13:01:00 kls Exp $ + * $Id: vdr.c 1.168 2003/09/05 13:14:16 kls Exp $ */ #include <getopt.h> @@ -387,7 +387,7 @@ int main(int argc, char *argv[]) const char *msg = "no primary device found - using first device!"; fprintf(stderr, "vdr: %s\n", msg); esyslog("ERROR: %s", msg); - if (!cDevice::SetPrimaryDevice(0)) + if (!cDevice::SetPrimaryDevice(1)) return 2; if (!cDevice::PrimaryDevice()) { const char *msg = "no primary device found - giving up!"; |