pub enum BitmapSubtitles {
Auto,
Text,
BurnIn,
Unknown,
}Expand description
How a picked bitmap subtitle (PGS) is shown: drawn by the client, read as text by the server, or burned into the video. Text subtitles are not affected; they are never burned in. Pictures are burned in only when the client cannot draw them.
Variants§
Auto
As the viewer’s preference says (TrackPreferences’
subtitles.bitmap): read as text if the server can, else drawn by
the client if it can, else burned in; or, for pictures, drawn by
the client if it can, else burned in. Apps send this unless the
user overrides it for one playback. The plan says which was used.
Text
Read as text and sent as a text subtitle, even to a client that
could draw the pictures. The plan is Unsupported if the server
cannot read this track.
BurnIn
Pictures: drawn by the client if it can, else burned into the
video. The server plans it as the pictures preference; it no
longer forces a burn-in on a client that can draw the pictures.
Kept so the wire does not change.
Unknown
A mode this build does not know: treated as Auto.