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:
parent
1bd0da3d1b
commit
145a112e7f
@ -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;
|
||||
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user