[MPlayer-dev-eng] [PATCH]: a couple of fixes for current cvs

nsabbi@libero.it nsabbi at libero.it
Thu Mar 20 22:09:54 CET 2003


Hi, 
 
these are a couple of fixes for MPlayer-20030320 (cvs): 
 
this one for configure, to self-detect and enable dvb-input: 
 
--- MPlayer-20030320/configure  2003-03-16 21:13:06.000000000 +0100 
+++ MPlayer-20030320-patch/configure    2003-03-20 21:23:01.000000000 +0100 
@@ -2849,6 +2849,7 @@ 
 if test "$_dvb" = yes ; then 
   _def_dvb='#define HAVE_DVB 1' 
   _def_dvb_in='#define HAS_DVBIN_SUPPORT 1' 
+  _def_dvbin='yes' 
   _aomodules="mpegpes(dvb) $_aomodules" 
   _vomodules="mpegpes(dvb) $_vomodules" 
 fi 
@@ -2890,6 +2891,7 @@ 
   if test "$_dvbhead" = yes ; then 
     _def_dvb='#define HAVE_DVB_HEAD 1' 
     _def_dvb_in='#define HAS_DVBIN_SUPPORT 1' 
+    _def_dvbin='yes' 
     _aomodules="mpegpes(dvb) $_aomodules" 
     _vomodules="mpegpes(dvb) $_vomodules" 
   fi 
@@ -4966,6 +4968,7 @@ 
 MLIB_LIB =  $_ld_mlib 
 MLIB_INC = $_inc_mlib 
 DXR2_INC = $_inc_dxr2 
+DVBIN = $_def_dvbin 
 DVB_INC = $_inc_dvb 
 PNG_LIB = $_ld_png 
 JPEG_LIB = $_ld_jpg 
 
 
 
and this one for libmpdemux/demux_ts.c  (wrong assignment of codec) 
 
--- MPlayer-20030320/libmpdemux/demux_ts.c      2003-03-16 21:13:27.000000000 +0100 
+++ MPlayer-20030320-patch/libmpdemux/demux_ts.c        2003-03-20 21:23:03.000000000 +0100 
@@ -354,7 +354,7 @@ 
 
                if(es.type == AUDIO_A52) 
                { 
-                   sh_audio->format = AUDIO_MP2;       //MPEG1L2 audio 
+                   sh_audio->format = AUDIO_A52;       //MPEG1L2 audio 
                    if(*apid == -1) 
                        *apid = es.pid; 
                    audio_found = 1; 
 
 
I noticed that with this patch the transport stream samples present at  http://www.heuris.com/MPEGProducts/HD_samples/index.htm 
begin to play sound, but soon stop with: "A52 CRC error". 
 
Any idea? 
 
Thanks, 
 
                 Nico 
 




More information about the MPlayer-dev-eng mailing list