[MPlayer-dev-eng] CYGWIN reading a dvd from a directory

Bjorn.Hermansson at teliasonera.com Bjorn.Hermansson at teliasonera.com
Tue Apr 26 14:49:59 CEST 2005


Hi,

I would like to suggest to modify file libmpdvdkit2/dvd_reader.c to make Mplayer able to play a dvd from a hard drive directory when compiled in the CYGWIN environment. The modifications seen when using diff

$ diff /MPlayer-20050421/libmpdvdkit2/dvd_reader.c /MPlayer-20050426/libmpdvdki
t2/dvd_reader.c | more
48c48
< #elif defined(__linux__) || defined(__CYGWIN__)
---
> #elif defined(__linux__)
323c323
< #elif defined(__sun) || defined(__linux__) || defined(__CYGWIN__)
---
> #elif defined(__sun) || defined(__linux__)
396c396
< #elif defined(__linux__) || defined(__CYGWIN__)
---
> #elif defined(__linux__)
415c415
< #elif defined(__MINGW32__)
---
> #elif defined(WIN32)

I am not sure if the WIN32 to __MINGW32__ substitution is correct when using MINGW!

Here is the modified file dvd_reader.c

 <<dvd_reader.c>> 
Sincerely

Björn Hermansson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvd_reader.c
Type: application/octet-stream
Size: 27943 bytes
Desc: dvd_reader.c
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050426/a7f5a1cf/attachment.obj>


More information about the MPlayer-dev-eng mailing list