Stuttery playback of DVD remux with hardware decoding - possible issue with whitelist logic?

Logs: https://paste.osmc.tv/panuwuvuzo

Getting very stuttery playback of this DVD remux with hardware decoding; plays fine in software.

It starts playing at half speed, then suddenly accelerates, then goes jerky. This looks familiar: I can’t directly verify this, but I think it’s probably starting with 1080p/25Hz output, then realising it needs more output FPS, and switching to 1080p/50Hz, but not recovering properly. For 1080i/50 material it automatically defaults to 50Hz to avoid this issue, but apparently not with 576i/50 at the moment.

Will post Media Info in a moment.

EDIT: MediaInfo for file:

General
Unique ID                                : 270060928107474055533535563112022545991 (0xCB2BD7C363138EE4929E012F807C1647)
Complete name                            : E:\Video\TV\Odissea\Odissea s01e02.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 2.58 GiB
Duration                                 : 45 min 22 s
Overall bit rate mode                    : Constant
Overall bit rate                         : 8 133 kb/s
Frame rate                               : 25.000 FPS
Movie name                               : Odissea s01e02
Encoded date                             : 2022-03-13 22:59:35 UTC
Writing application                      : MakeMKV v1.16.7 win(x64-release)
Writing library                          : libmakemkv v1.16.7 (1.3.10/1.5.2) win(x64-release)

Video
ID                                       : 1
ID in the original source medium         : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings                          : BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Default
Format settings, GOP                     : M=3, N=12
Format settings, picture structure       : Frame
Codec ID                                 : V_MPEG2
Codec ID/Info                            : MPEG 1 or 2 Video
Duration                                 : 45 min 22 s
Bit rate mode                            : Constant
Bit rate                                 : 8 000 kb/s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.772
Time code of first frame                 : 00:00:00:00
Time code source                         : Group of pictures header
GOP, Open/Closed                         : Closed
Stream size                              : 2.54 GiB (98%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : DVD-Video

Audio
ID                                       : 2
ID in the original source medium         : 189 (0xBD)128 (0x80)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 45 min 22 s
Bit rate mode                            : Constant
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 41.5 MiB (2%)
Title                                    : Stereo
Language                                 : Italian
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Original source medium                   : DVD-Video

Menu
00:00:00.080                             : en:Chapter 01
00:13:23.600                             : en:Chapter 02
00:23:58.160                             : en:Chapter 03
00:34:56.720                             : en:Chapter 04


What happens if whitelisting is off?

Turning off the whitelist fixes the issue.

(But that’s not a viable work-around, because then 1080p/25fps videos are output at 50Hz with a different kind of stutter; the only way to fix that is to switch to 1080p/25Hz output manually, and you can’t manually switch output mode if there’s no whitelist).