vo_lavc: silence warning when writing y4m

Apparently a ffmpeg issue. Hide the warning because it's annoying.
Workaround suggested by divVerent.
This commit is contained in:
wm4 2013-06-12 18:09:48 +02:00
parent 4a5d1f2d44
commit d16516f553
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}