[Mplayer-dvb] NEWSTRUCT fix

Philip Clark pclark at SLAC.Stanford.EDU
Tue Oct 1 18:39:56 CEST 2002


Dear Marcus, 

Were these problems similar to not getting audio when doing -ao
mpegpes? Like I was having. I will give your patches a try and see if
they help. Also perhaps we can patch the PCMCIA controllers and Graphics
chips for ZV. It is just getting the time to learn about it. 

I noticed that Alan Cox has dropped the margi driver from the kernel
patches for RH. Any idea when it might get back in? It seems so close to
working, just needs a bit of bug tracking and support. 

-Phil

Yesterday's changelog:-

Linux 2.4.20-pre8-ac1
-       Drop margi pcmcia driver
        |Until it gets a major cleanup





On Tuesday, 1 October 2002, Marcus Metzler wrote:
 > 
 > Hi,
 > some people have problems using mplayer with the NEWSTRUCT
 > drivers. With the following minimal changes you will get it to work:
 > 
 > 1) If you don't have the /dev/ost devices link /dev/ost/video to 
 >    /dev/dvb/adapter0/video0 and /dev/ost/audio to
 >   /dev/dvb/adapter0/audio0, i.e.
 >    mkdir /dev/ost
 >    ln -s /dev/dvb/adapter0/video0 /dev/ost/video
 >    ln -s /dev/dvb/adapter0/audio0 /dev/ost/audio
 >    
 > 2) Patch mplayer with the following
 > 
 > 
 > --- /usr3/src/MPlayer/main/libao2/ao_mpegpes.c  Mon Sep 30 15:24:39 2002
 > +++ /vol/morden/usr2/MPlayer/main/libao2/ao_mpegpes.c   Mon Sep 30 16:50:07 2002
 > @@ -15,7 +15,7 @@
 >  #include "../mp_msg.h"
 >  
 >  #ifdef HAVE_DVB
 > -#include <ost/audio.h>
 > +#include <linux/dvb/audio.h>
 >  audioMixer_t dvb_mixer={255,255};
 >  extern int vo_mpegpes_fd;
 >  extern int vo_mpegpes_fd2;
 > 
 > --- /usr3/src/MPlayer/main/libvo/vo_mpegpes.c   Mon Sep 30 15:24:43 2002
 > +++ /vol/morden/usr2/MPlayer/main/libvo/vo_mpegpes.c    Mon Sep 30 16:52:15 2002
 > @@ -35,11 +35,8 @@
 >  #include <stdio.h>
 >  #include <time.h>
 >  
 > -#include <ost/dmx.h>
 > -#include <ost/frontend.h>
 > -#include <ost/sec.h>
 > -#include <ost/video.h>
 > -#include <ost/audio.h>
 > +#include <linux/dvb/video.h>
 > +#include <linux/dvb/audio.h>
 >  
 >  #endif
 > 
 > 3) use mplayer's configure with the option 
 >    --with-extraincdir=MYPATH/DVB/include
 > 
 > Marcus
 > 
 > -- 
 > /--------------------------------------------------------------------\
 > | Dr. Marcus O.C. Metzler        |                                   |
 > |--------------------------------|-----------------------------------|
 > | mocm at metzlerbros.de            | http://www.metzlerbros.de/        |
 > \--------------------------------------------------------------------/
 > 
 > _______________________________________________
 > Mplayer-dvb mailing list
 > Mplayer-dvb at mplayerhq.hu
 > http://mplayerhq.hu/mailman/listinfo/mplayer-dvb

-- 
Philip J. Clark                    MS41 (Bristol), SLAC 
tel: 1-650-926-3761                Stanford University
fax: 1-650-926-3767                P.O. Box 20450
pclark at slac.stanford.edu           Stanford, California 94309



More information about the MPlayer-dvb mailing list