1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00

mux/ps,ts: simplify debug message construction

per suggestion in MR review.
This commit is contained in:
Lyndon Brown 2021-06-08 20:33:41 +01:00 committed by Jean-Baptiste Kempf
parent 1bd0da3d1b
commit 145a112e7f
2 changed files with 2 additions and 3 deletions

View File

@ -360,8 +360,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
p_stream->lang[1] = pl->psz_iso639_2T[1];
p_stream->lang[2] = pl->psz_iso639_2T[2];
msg_Dbg( p_mux, " - lang=%c%c%c",
p_stream->lang[0], p_stream->lang[1], p_stream->lang[2] );
msg_Dbg( p_mux, " - lang=%3.3s", pl->psz_iso639_2T );
}
}
return VLC_SUCCESS;

View File

@ -921,7 +921,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
{
memcpy(&p_stream->pes.lang[i*4], pl->psz_iso639_2T, 3);
p_stream->pes.lang[i*4+3] = 0x00; /* audio type: 0x00 undefined */
msg_Dbg( p_mux, " - lang=%3.3s", &p_stream->pes.lang[i*4] );
msg_Dbg( p_mux, " - lang=%3.3s", pl->psz_iso639_2T );
}
}