Mercurial > mplayer.hg
diff mpcommon.c @ 32778:9404cb19e08d
Print a message when lavc subtitle decoding fails.
author | reimar |
---|---|
date | Sun, 06 Feb 2011 14:03:10 +0000 |
parents | 24e4682ce6ec |
children | 702867779920 |
line wrap: on
line diff
--- a/mpcommon.c Sun Feb 06 13:52:05 2011 +0000 +++ b/mpcommon.c Sun Feb 06 14:03:10 2011 +0000 @@ -202,6 +202,8 @@ if (is_av_sub(type)) { #ifdef CONFIG_FFMPEG type = decode_avsub(d_dvdsub->sh, &packet, &len, &subpts, &endpts); + if (type < 0) + mp_msg(MSGT_SPUDEC, MSGL_WARN, "lavc failed decoding subtitle\n"); if (type <= 0) #endif continue;