summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-17 18:23:46 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-17 18:23:46 +0000
commited3b33cf032c8bafd221ef59c35c37c2c899ea02 (patch)
tree664674a68c71f5ad5e68d4f353f0772b615e0cdc /stream
parentf647aa04e66bfc6ae23b496da3cf228268f2e79b (diff)
downloadmpv-ed3b33cf032c8bafd221ef59c35c37c2c899ea02.tar.bz2
mpv-ed3b33cf032c8bafd221ef59c35c37c2c899ea02.tar.xz
Do not print Ok message when setting speed limit failed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25067 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 02bbf91902..cc831b5f96 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -116,7 +116,7 @@ static void dvd_set_speed(char *device, unsigned speed)
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
}