summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-12 18:09:48 +0200
committerwm4 <wm4@nowhere>2013-06-13 00:54:40 +0200
commitd16516f55310a441115b927110456839ec17059b (patch)
treebce22ec12e8d9da8e3c392401dfa1f42709b7f17 /video
parent4a5d1f2d4494688703b2f4106b8c94c86eb1ea13 (diff)
downloadmpv-d16516f55310a441115b927110456839ec17059b.tar.bz2
mpv-d16516f55310a441115b927110456839ec17059b.tar.xz
vo_lavc: silence warning when writing y4m
Apparently a ffmpeg issue. Hide the warning because it's annoying. Workaround suggested by divVerent.
Diffstat (limited to 'video')
-rw-r--r--video/out/vo_lavc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_lavc.c b/video/out/vo_lavc.c
index c35b18d749..73d1141b35 100644
--- a/video/out/vo_lavc.c
+++ b/video/out/vo_lavc.c
@@ -210,7 +210,7 @@ static void write_packet(struct vo *vo, int size, AVPacket *packet)
vc->stream->codec->time_base,
vc->stream->time_base);
} else {
- mp_msg(MSGT_ENCODE, MSGL_WARN, "vo-lavc: codec did not provide pts\n");
+ mp_msg(MSGT_ENCODE, MSGL_V, "vo-lavc: codec did not provide pts\n");
packet->pts = av_rescale_q(vc->lastipts, vc->worst_time_base,
vc->stream->time_base);
}