Ticket #1103 (new defect)

Opened 1 year ago

text renderer styles race condition

Reported by: hartman Assigned to: hartman
Priority: low Milestone: 1.0.0 bugs
Component: Decoders Version: 0.8.6 (bugfix)
Severity: major Keywords: subtitle style race
Cc: Platform(s): all
Difficulty: easy Work status: Not started

Description

We currently store textstyles in the p_sys object of the decoder, and when rendering use those. This may be a race condition. What if the decoder is no longer there when we try to render the text ?

I wrote it like this to prevent continuously copying the style into the subtitles. Keeping the central list in the core spu object didn't sound like a good idea to me either.