[MPlayer-users] libdvdnav-5.0 compatibility

Thomas Klausner tk at giga.or.at
Fri Oct 3 10:26:02 CEST 2014


Hi!

The latest mplayer release (1.1.1) does not build against the current
libdvdnav release. I've checked the SVN version, and the file has not
been adapted there either.

The build fails with:
stream/stream_dvdnav.c: In function 'mp_dvdnav_get_aid_from_format':
stream/stream_dvdnav.c:740:8: error: 'DVDNAV_FORMAT_AC3' undeclared (first use in this function)
   case DVDNAV_FORMAT_AC3:
        ^
stream/stream_dvdnav.c:740:8: note: each undeclared identifier is reported only once for each function it appears in
stream/stream_dvdnav.c:742:8: error: 'DVDNAV_FORMAT_DTS' undeclared (first use in this function)
   case DVDNAV_FORMAT_DTS:
        ^
stream/stream_dvdnav.c:744:8: error: 'DVDNAV_FORMAT_LPCM' undeclared (first use in this function)
   case DVDNAV_FORMAT_LPCM:
        ^
stream/stream_dvdnav.c:746:8: error: 'DVDNAV_FORMAT_MPEGAUDIO' undeclared (first use in this function)
   case DVDNAV_FORMAT_MPEGAUDIO:
        ^

The defines have been renamed to DVDNAV_AUDIO_FORMAT_*, and
DVDNAV_FORMAT_MPEGAUDIO additionally lost its "AUDIO".

The new variables are in "dvdnav/dvd_types.h".

Cheers,
 Thomas


More information about the MPlayer-users mailing list