[vlc-commits] demux: ts: add failed iod pid debug info
Francois Cartegnie
git at videolan.org
Sat Jun 7 12:42:34 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Jun 7 12:18:26 2014 +0200| [55908df8d8e39ee155cd70631133754c64c3d938] | committer: Francois Cartegnie
demux: ts: add failed iod pid debug info
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=55908df8d8e39ee155cd70631133754c64c3d938
---
modules/demux/ts.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 9125c85..78515b9 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -3292,7 +3292,19 @@ static void PMTSetupEsISO14496( demux_t *p_demux, ts_pid_t *pid,
}
if( !pid->es->p_mpeg4desc )
{
- msg_Err( p_demux, "MPEG-4 descriptor not found" );
+ switch( p_es->i_type )
+ {
+ /* non fatal, set by packetizer */
+ case 0x0f: /* ADTS */
+ case 0x11: /* LOAS */
+ msg_Info( p_demux, "MPEG-4 descriptor not found for pid 0x%x type 0x%x",
+ pid->i_pid, p_es->i_type );
+ break;
+ default:
+ msg_Err( p_demux, "MPEG-4 descriptor not found for pid 0x%x type 0x%x",
+ pid->i_pid, p_es->i_type );
+ break;
+ }
return;
}
More information about the vlc-commits
mailing list