Commit 6064cdb5 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* ts.c: print Stream Identifier descriptor information

parent d650d36b
...@@ -1065,6 +1065,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -1065,6 +1065,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
demux_sys_t *p_sys = p_demux->p_sys; demux_sys_t *p_sys = p_demux->p_sys;
double f, *pf; double f, *pf;
int64_t i64; int64_t i64;
int64_t *pi64;
int i_int; int i_int;
if( p_sys->b_file_out ) if( p_sys->b_file_out )
...@@ -1116,6 +1117,12 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -1116,6 +1117,12 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
} }
*pi64 = 0; *pi64 = 0;
return VLC_EGENERIC; return VLC_EGENERIC;
#else
case DEMUX_GET_TIME:
case DEMUX_GET_LENGTH:
pi64 = (int64_t*)va_arg( args, int64_t * );
*pi64 = 0;
return VLC_SUCCESS;
#endif #endif
case DEMUX_SET_GROUP: case DEMUX_SET_GROUP:
{ {
...@@ -2896,6 +2903,15 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt ) ...@@ -2896,6 +2903,15 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
msg_Dbg( p_demux, " * VBI Teletext descriptor" ); msg_Dbg( p_demux, " * VBI Teletext descriptor" );
/* FIXME : store the information somewhere */ /* FIXME : store the information somewhere */
} }
#ifdef _DVBPSI_DR_52_H_
else if( p_dr->i_tag == 0x52 )
{
dvbpsi_stream_identifier_dr_t *si;
si = dvbpsi_DecodeStreamIdentifierDr( p_dr );
msg_Dbg( p_demux, " * Stream Component Identifier: %d", si->i_component_tag );
}
#endif
else if( p_dr->i_tag == 0x56 ) else if( p_dr->i_tag == 0x56 )
{ {
msg_Dbg( p_demux, " * EBU Teletext descriptor" ); msg_Dbg( p_demux, " * EBU Teletext descriptor" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment