[MPlayer-users] doesn't build with new libdvdnav

Sylvain Petreolle spetreolle at yahoo.fr
Mon Aug 5 14:39:02 CEST 2002


I don't think so.
I have the same issue and looked in dvdnav source. (CVS)

the dvdnav_events.h include file defines dvdnav_stream_change_event_t
as a struct:
/**
 * Structure providing information on DVDNAV_*_STREAM_CHANGE events.
 */
typedef struct {
  int physical; /*!< The physical (MPEG) stream number. */
  int logical;  /*!< The logical (DVD) stream number.   */
} dvdnav_stream_change_event_t;

see
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/dvd/libdvdnav/src/dvdnav_events.h?rev=1.3

Perhaps a compiler issue ?
I'm using gcc 3.1-5
> recent libdvdnav 0.1.3 has a incompatible API change, I cannot
> compile
> current MPlayer with it:
> 
> gcc -c -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math
> -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I-I/usr/include
> -I/usr/include/dvdnav   -o mplayer.o mplayer.c
> mplayer.c: In function `main':
> mplayer.c:1284: warning: assignment makes pointer from integer
> without a cast
> mplayer.c:1285: warning: assignment makes pointer from integer
> without a cast
> mplayer.c:2695: `dvdnav_stream_change_event_t' undeclared (first use
> in this function)
> mplayer.c:2695: (Each undeclared identifier is reported only once
> mplayer.c:2695: for each function it appears in.)
> mplayer.c:2695: `stream_change' undeclared (first use in this
> function)
> mplayer.c:2695: parse error before ')' token
> mplayer.c:2713: parse error before ')' token
> 
> 
> CU
> -- 
>    Götz Waschk <> master of computer science  <> University of
> Rostock    
>  http://wwwstud.informatik.uni-rostock.de/~waschk/waschk.asc for PGP
> key
>                          --> Logout Fascism! <--
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users 

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com




More information about the MPlayer-users mailing list