[videoplayer] [bluray] Fix playback of disc with truehd tracks in menu mode. #14382
The problem is that ffmpeg finds a truehd core ac3 stream on some Blu-rays with the same pid as the truehd stream, but libbluray does not. Therefore our videoplayer (rapidly) opens each of the two streams in turns. This leads to a stall.
The following output is from ffmpeg, stream 0:2 and 0:3 have the same pid:
But, according to libbluray, the current clip has the following audio streams:
I'm not sure about the second commit, but without it the function gets called quite often at the start of the playback.