[MPlayer-cvslog] r32865 - trunk/mpcommon.c

reimar subversion at mplayerhq.hu
Sun Feb 6 15:03:11 CET 2011


Author: reimar
Date: Sun Feb  6 15:03:10 2011
New Revision: 32865

Log:
Print a message when lavc subtitle decoding fails.

Modified:
   trunk/mpcommon.c

Modified: trunk/mpcommon.c
==============================================================================
--- trunk/mpcommon.c	Sun Feb  6 14:52:05 2011	(r32864)
+++ trunk/mpcommon.c	Sun Feb  6 15:03:10 2011	(r32865)
@@ -202,6 +202,8 @@ void update_subtitles(sh_video_t *sh_vid
             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;


More information about the MPlayer-cvslog mailing list