https://bugs.kde.org/show_bug.cgi?id=528644

            Bug ID: 528644
           Summary: Subtitles auto selection not working properly
    Classification: Applications
           Product: Haruna
      Version First 1.9.0
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
As of 1.9.0 Haruna is no longer properly selecting a subtitle track based on
the default or language preference when the 'Auto select track' option is
selected.

I have 2 video files. 
Video A has one subtitle stream as reported by ffprobe:
  Stream #0:2(eng): Subtitle: ass (ssa) (default)

Video B has seven subtitle streams:
  Stream #0:2(eng): Subtitle: subrip (srt)
  Stream #0:3(eng): Subtitle: subrip (srt) (hearing impaired)
  Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle (pgssub) (hearing impaired)
  Stream #0:5(fre): Subtitle: subrip (srt)
  Stream #0:6(fre): Subtitle: hdmv_pgs_subtitle (pgssub)
  Stream #0:7(spa): Subtitle: subrip (srt)
  Stream #0:8(spa): Subtitle: hdmv_pgs_subtitle (pgssub)

Using default settings (Auto select track enabled, no preferred language,
preferred track=0):

Video A Observed result:
   Subtitle track selected is 'None'.

Video A Expected result:
   Track 1 / Stream #0:2 is selected since it is the default track and there is
no matching track id or language.

Video B Observed result
   Subtitle track selected is 'None' - this is correct since there is no
default track.

Modifying 'Preferred language' to 'eng':
Video A Observed result:
   Subtitle track selected is 'None'.

Video A Expected result:
   English subtitle track is selected.

Video B Observed result:
   Subtitle track selected is 'None'.

Video B Expected result:
   English subtitle track is selected.

Clear 'Preferred language', change 'Preferred track' to '3':
Video A Observed result:
   Subtitle track selected is Track 1 / 'Stream #0:2'.

Video A Expected result:
   Unsure. It's not clear if this is happening because a bug in the preferred
track is causing track 1 to be selected when track 3 is preferred or if Haruna
is correctly falling back to using the default track.

Video B Observed result:
   Subtitle track selected is Track 3 / 'Stream #0:4'. This is correct.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 7.2.14-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 64 GiB of RAM (60.4 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 4090
Graphics Processor 2: AMD Ryzen 7 9800X3D 8-Core Processor


ADDITIONAL INFORMATION
First observed on 1.9.0. At least the default track selection worked on
previous versions.

Info button indicates that track selection priority is
 - preferred track id
 - track matching the preferred language
 - default track
 - no track

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to