author | hualing chen <hualing.chen@amlogic.com> | 2019-11-29 12:12:27 (GMT) |
---|---|---|
committer | Zhi Zhou <zhi.zhou@amlogic.com> | 2019-12-04 06:16:04 (GMT) |
commit | 4168e42ae878fe75fefb00dd58a518c8ca5b81b5 (patch) | |
tree | 5bc743d8d1d667d29140eead718e07da8cdabb85 | |
parent | 442dc911d86a861df9c058025eef816e05b63a1c (diff) | |
download | media_modules-4168e42ae878fe75fefb00dd58a518c8ca5b81b5.zip media_modules-4168e42ae878fe75fefb00dd58a518c8ca5b81b5.tar.gz media_modules-4168e42ae878fe75fefb00dd58a518c8ca5b81b5.tar.bz2 |
dvb: the AD audio output noise. [1/2]
PD#SWPL-17238
Problem:
play Dual_Strm_2PID_swp_AssocRouting_
ddp_DVB_h264_25fps.trp,
the audio output noise.
Solution:
add AUDIO3 type for AD get pes data.
we set default type to BYPASS_PACKET for dvr mode.
Verify:
verify at ac214 in android p.
Change-Id: Ifa70d83eb5f04fd69a9d06bb5c11a2fdd5a7871a
Signed-off-by: hualing chen <hualing.chen@amlogic.com>
-rw-r--r-- | drivers/stream_input/parser/hw_demux/aml_dmx.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/stream_input/parser/hw_demux/aml_dmx.c b/drivers/stream_input/parser/hw_demux/aml_dmx.c index 286b922..1e0c1ca 100644 --- a/drivers/stream_input/parser/hw_demux/aml_dmx.c +++ b/drivers/stream_input/parser/hw_demux/aml_dmx.c @@ -3273,9 +3273,12 @@ static u32 dmx_get_chan_target(struct aml_dmx *dmx, int cid) case DMX_PES_PCR: type = SCR_ONLY_PACKET; break; - default: + case DMX_PES_AUDIO3: type = OTHER_PES_PACKET; break; + default: + type = BYPASS_PACKET; + break; } } @@ -4152,6 +4155,7 @@ int dmx_alloc_chan(struct aml_dmx *dmx, int type, int pes_type, int pid) id = 3; break; case DMX_PES_OTHER: + case DMX_PES_AUDIO3: { int i; |