[MPlayer-dev-eng] [PATCH] -identify DVD titles
kiriuja
mplayer-patches at en-directo.net
Thu Sep 22 02:14:02 CEST 2005
On Tuesday 20 September 2005 23:57 Rich Felker wrote:
> Try this:
>
> char buf[17];
> for(i=0;i<16;i++) sprintf(buf+2*i, "%02X", discid[i]);
> mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_DVD_DISC_ID=%s\n", buf);
>
> Simple, readable, no possibility of endian problems or portability
> issues.
OK, I made it work like that. Updated patch attached.
--
kiriuja
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-identify-dvd-3.diff
Type: text/x-diff
Size: 3258 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050921/cdebbf4c/attachment.diff>
More information about the MPlayer-dev-eng
mailing list