Opened 14 years ago

Closed 14 years ago

#8931 closed patch (fixed)

EIA-608 caption initialization

Reported by: Jim Stichnoth <stichnot@…> Owned by:
Priority: minor Milestone: 0.24
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When SubtitleScreen::DisplayCC608Subtitles() is called, the QFontMetrics object is initialized before setPixelSize() is called. As a result, the very first time a caption is displayed after the frontend is started, the font size is likely incorrect. Subsequent captions are fine.

The attached patch fixes it. A more efficient solution might be something like the way SubtitleScreen::DisplayTextSubtitles?() does it.

Attachments (2)

eia608init.patch (760 bytes) - added by Jim Stichnoth <stichnot@…> 14 years ago.
eia608init.2.patch (760 bytes) - added by Jim Stichnoth <stichnot@…> 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Jim Stichnoth <stichnot@…>

Attachment: eia608init.patch added

Changed 14 years ago by Jim Stichnoth <stichnot@…>

Attachment: eia608init.2.patch added

comment:1 Changed 14 years ago by Kenni Lund [kenni a kelu dot dk]

Milestone: unknown0.24
Resolution: fixed
Status: newclosed

Fixed by r26313, Trac didn't catch it for some reason..

Note: See TracTickets for help on using tickets.