Commit aba6c4cd authored by Christophe Massiot's avatar Christophe Massiot

* modules/mux/mpeg/ts.c: EN 300 473 says that data_alignment PES flag

   must be set to 1 for DVB subtitles.
parent eeb67833
...@@ -1482,6 +1482,12 @@ static int Mux( sout_mux_t *p_mux ) ...@@ -1482,6 +1482,12 @@ static int Mux( sout_mux_t *p_mux )
i_header_size = 0x24; i_header_size = 0x24;
b_data_alignment = 1; b_data_alignment = 1;
} }
else if( p_input->p_fmt->i_codec ==
VLC_FOURCC('d','v','b','s') )
{
/* EN 300 473 */
b_data_alignment = 1;
}
} }
else if( p_data->i_length < 0 || else if( p_data->i_length < 0 ||
p_data->i_length > 2000000 ) p_data->i_length > 2000000 )
......
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