Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: mplayer_only_patch parameter -m ?



On 29 Jan 2002 ma.hoff@t-online.de (Martin Hoffmann) wrote:

> I compiled vdr 0.99pre2 with mplayer-only support (no mp3 !!!)
> 
> When starting VDR with -m /path/to/mount.sh VDR quits with error: wasn't 
> compiled for mp3 support ! 
> That's correct !
> But if i ommit -m VDR complains about missing mount.sh !
> 
> So what's wrong ?

Nothing at you side. It's a silly bug :-(
Try this:

--- VDR-0.99pre2-mp3-0.33/vdr.c	Mon Jan 28 18:57:38 2002
+++ VDR/vdr.c	Tue Jan 29 20:01:42 2002
@@ -172,11 +172,11 @@
 #else
                            "no DVD support",
 #endif //DVDSUPPORT
-#ifdef MP3SUPPORT
+#if defined(MP3SUPPORT) || defined(MPLAYER)
                            mountscript,
 #else
-                           "no MP3 support",
-#endif // MP3SUPPORT
+                           "no MP3/MPlayer support",
+#endif // MP3SUPPORT || MPLAYER
 #ifdef MPLAYER
                            MPlayerCmd,
 #else
@@ -210,13 +210,13 @@
           case 't': Terminal = optarg;
                     break;
           case 'm':
-#ifdef MP3SUPPORT
+#if defined(MP3SUPPORT) || defined(MPLAYER)
                     mountscript = optarg;
                     break;
 #else
-                    fprintf(stderr, "vdr: MP3 support has not been compiled in!\n");
+                    fprintf(stderr, "vdr: MP3/MPlayer support has not been compiled in!\n");
                     return 2;
-#endif // MP3SUPPORT
+#endif // MP3SUPPORT || MPLAYER
           case 'M': 
 #ifdef MPLAYER
                     MPlayerCmd = optarg;

-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan



Home | Main Index | Thread Index