Opened 14 years ago

Closed 14 years ago

#1836 closed patch (fixed)

Myth fails to select DVB subtitles with correct language

Reported by: otto at kolsi dot fi Owned by: danielk
Priority: minor Milestone: unknown
Component: dvb Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If there are more than one subtitle streams available with DVB, myth fails to select the correct one based on the language settings. This can be seen at least in Finland with YLE DVB-T (myth selects swedish subtitles instead of finnish).

This seems to get fixed with attached one-liner (which might not be the most elegant solution but illustrates the point).

Attachments (1)

lang-select.patch (342 bytes) - added by otto at kolsi dot fi 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by otto at kolsi dot fi

Attachment: lang-select.patch added

comment:1 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [10000]) Fixes #1836. One of the subtitle/audio stream selection loops was failing to select the stream in your highest ranked language.

Because of a missing escape, if you had two languages in your preference list and both were present in the video then the lowest priority one (the last found) would be selected, rather than the highest priority one.

Bug discovered and fixed by otto at kolsi dot fi.

Note: See TracTickets for help on using tickets.