-#define TITLE_MAX 30
- input_info_category_t *p_cat;
- char psz_streamid[TITLE_MAX];
- int i_es_id = p_dec->fmt_out.i_id;
- input_thread_t * p_input = vlc_object_find( p_dec, VLC_OBJECT_INPUT,
- FIND_PARENT );
-
- snprintf(psz_streamid, TITLE_MAX, "%s%04x", _("Stream "), i_es_id);
- p_cat = input_InfoCategory( p_input, psz_streamid );
-
-#if 1
- /* We should be finding this stream, but we aren't. */
- input_AddInfo( p_cat, _("Type"), "%s", _("audio") );
- input_AddInfo( p_cat, _("Description"), "%s", _("MPEG audio") );
-#endif
-
- input_AddInfo( p_cat, _("Sample Rate"), "%d", p_sys->i_rate );
- input_AddInfo( p_cat, _("Bit Rate"), "%d", p_sys->i_bit_rate );
- input_AddInfo( p_cat, _("Channel(s)"), "%d", p_sys->i_channels );
-
- msg_Info( p_dec, "MPGA channels:%d samplerate:%d bitrate:%d",