# HG changeset patch # User reimar # Date 1195323826 0 # Node ID b16e023e5751650467a7c3970642b09cf4c619a0 # Parent b2ae4a355a54661df356d3ebbf21b26aa609295e Do not print Ok message when setting speed limit failed diff -r b2ae4a355a54 -r b16e023e5751 stream/stream_dvd.c --- a/stream/stream_dvd.c Sat Nov 17 18:22:42 2007 +0000 +++ b/stream/stream_dvd.c Sat Nov 17 18:23:46 2007 +0000 @@ -116,7 +116,7 @@ if (ioctl(fd, SG_IO, &sghdr) < 0) { mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitFail); - } + } else mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitOk); #endif }