[vlc-devel] commit: Improved error message in case of unrecognized DVB subtitle type. ( Laurent Aimar )

git version control git at videolan.org
Wed Jul 1 21:28:56 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jun 30 22:50:53 2009 +0200| [63d97b4185b6876a85523f38c53c9a4f01b01ace] | committer: Laurent Aimar 

Improved error message in case of unrecognized DVB subtitle type.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63d97b4185b6876a85523f38c53c9a4f01b01ace
---

 modules/demux/ts.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 494bb47..71341ce 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -3501,7 +3501,8 @@ static void PMTSetupEs0x06( demux_t *p_demux, ts_pid_t *pid,
                     PMTSetupEsDvbSubtitle( p_demux, pid, p_es );
                     break;
                 default:
-                    msg_Err( p_demux, "Unrecognized DVB subtitle type" );
+                    msg_Err( p_demux, "Unrecognized DVB subtitle type (0x%x)",
+                             p_sub->p_subtitle[i].i_subtitling_type );
                     break;
                 }
             }




More information about the vlc-devel mailing list