Skip to content

Commit

Permalink
[servicedvb] fix audio when plugin Quad pip enabled
Browse files Browse the repository at this point in the history
(cherry picked from commit f91d0b4a97e6bc3df469ce5cf81a065acdc1d271)
(cherry picked from commit b8e2c3e58ccabc58db73e8eadc5170da771ef528)
(cherry picked from commit 22a1c90972df54adba3e0f83c2184fb152307f36)
  • Loading branch information
Dima73 authored and Huevos committed Aug 10, 2023
1 parent db1aa0b commit 4bb9ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/servicedvb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2225,7 +2225,7 @@ int eDVBServicePlay::selectAudioStream(int i)

m_current_audio_pid = apid;

if (m_is_primary && !m_noaudio && m_decoder->setAudioPID(apid, apidtype))
if ((m_is_primary || !m_noaudio) && m_decoder->setAudioPID(apid, apidtype))
{
eDebug("[eDVBServicePlay] set audio pid %04x failed", apid);
return -4;
Expand Down

0 comments on commit 4bb9ea4

Please sign in to comment.