Commit c4bd5136 authored by Rafaël Carré's avatar Rafaël Carré

ts demux: fix eac3 mistaken for ac3

Close #8217
parent 379d8298
...@@ -3646,6 +3646,8 @@ static void PMTSetupEsRegistration( demux_t *p_demux, ts_pid_t *pid, ...@@ -3646,6 +3646,8 @@ static void PMTSetupEsRegistration( demux_t *p_demux, ts_pid_t *pid,
{ {
p_fmt->i_cat = p_regs[i].i_cat; p_fmt->i_cat = p_regs[i].i_cat;
p_fmt->i_codec = p_regs[i].i_codec; p_fmt->i_codec = p_regs[i].i_codec;
if (p_es->i_type == 0x87)
p_fmt->i_codec = VLC_CODEC_EAC3;
return; return;
} }
} }
......
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