Commit 39df3350 authored by Antoine Cellerier's avatar Antoine Cellerier

"[PATCH] show input index-number in vlm show" by Ilkka Ollakka

parent 970109d8
......@@ -81,7 +81,7 @@ Haakon Meland Eriksen - Norwegian translation
Han HoJoong <0demon0 at paran dot com> - Korean translation
Hans-Peter Jansen <hpj at urpla.net> - patch for module options handling
Igor Helman - VLM msecseek command
Ilkka Ollakka - SDP bitrate patch, VLM play indexing start fix
Ilkka Ollakka - SDP bitrate patch, various VLM fixes
Jan Gerber <j at v2v dot org> - patch theora decoding aspect ratio
Jan Van Boghout <vlc at macrabbit.com> - iTunes like slider for OSX intf
Javier Varela <tonxabar at hotmail.com> - Spanish translation
......
......@@ -1373,7 +1373,13 @@ static vlm_message_t *vlm_ShowMedia( vlm_t *p_vlm, vlm_media_sys_t *p_media )
p_msg_sub = vlm_MessageAdd( p_msg, vlm_MessageNew( "inputs", NULL ) );
for( i = 0; i < p_cfg->i_input; i++ )
vlm_MessageAdd( p_msg_sub, vlm_MessageNew( p_cfg->ppsz_input[i], NULL ) );
{
char *psz_tmp;
asprintf( &psz_tmp, "%d", i+1 );
vlm_MessageAdd( p_msg_sub,
vlm_MessageNew( psz_tmp, p_cfg->ppsz_input[i] ) );
free( psz_tmp );
}
vlm_MessageAdd( p_msg,
vlm_MessageNew( "output", p_cfg->psz_output ? p_cfg->psz_output : "" ) );
......
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