ContainerDeclarationDiverged

data class ContainerDeclarationDiverged(val streamIndex: Int, val field: String, val declared: String, val decoded: String) : PlaybackWarning

The container declared one thing about a stream and its decoder produced another.

Not an error: the file plays, and the decoded value is the one in force. It is told because this disagreement is what a viewer meets as a wrong-sized picture, or as an audio device opened for a rate nothing feeds. One warning per disagreeing field, once per open.

Constructors

Link copied to clipboard
constructor(streamIndex: Int, field: String, declared: String, decoded: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val fields: Map<String, String>

The warning as key and value pairs, for a structured log sink.

Link copied to clipboard
open override val message: String
Link copied to clipboard

Functions

Link copied to clipboard
override fun toString(): String

The type and the message, with every URI cut to its file name, as for PlaybackError.