summaryrefslogtreecommitdiffstats
path: root/stream/tvi_v4l2.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-14 21:26:17 +0200
committerwm4 <wm4@nowhere>2014-06-14 21:26:17 +0200
commit1d920047ab78eef201b121a4290836b543cd4078 (patch)
tree4531f88d62e76802a580606a7f7a0dee736d6cdd /stream/tvi_v4l2.c
parent63266d43720dfce15f89c06f200e9a3350642542 (diff)
downloadmpv-1d920047ab78eef201b121a4290836b543cd4078.tar.bz2
mpv-1d920047ab78eef201b121a4290836b543cd4078.tar.xz
tv: fix compilation without clock_gettime, don't claim to be MPlayer
mp_msg() doesn't exist anymore in this form. Oops.
Diffstat (limited to 'stream/tvi_v4l2.c')
-rw-r--r--stream/tvi_v4l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c
index dfde2eb282..979457e21e 100644
--- a/stream/tvi_v4l2.c
+++ b/stream/tvi_v4l2.c
@@ -1405,7 +1405,7 @@ static int start(priv_t *priv)
? CLOCK_MONOTONIC : CLOCK_REALTIME;
#else
if (priv->map[i].buf.flags & V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC)
- mp_msg(MSGT_TV, MSGL_WARN, "MPlayer compiled without clock_gettime() that is needed to handle monotone video timestamps from the kernel. Expect desync.\n");
+ MP_WARN(priv, "compiled without clock_gettime() that is needed to handle monotone video timestamps from the kernel. Expect desync.\n");
#endif
/* count up to make sure this is correct everytime */
priv->mapcount++;