MythTV  master
Public Member Functions | Public Attributes | List of all members
StreamInfo Class Reference

#include <libmythtv/decoders/decoderbase.h>

Collaboration diagram for StreamInfo:
[legend]

Public Member Functions

 StreamInfo ()=default
 
 StreamInfo (int av_stream_index, int stream_id, int language=0, uint language_index=0, bool forced=false)
 
 StreamInfo (int av_stream_index, int stream_id, int language, uint language_index, AudioTrackType audio_type)
 
bool operator< (const StreamInfo &b) const
 

Public Attributes

int m_av_stream_index {-1}
 
int m_stream_id {-1}
 
int m_language {-2}
 ISO639 canonical language key; Audio, Subtitle, CC, Teletext, RawText. More...
 
uint m_language_index {0}
 Audio, Subtitle, Teletext. More...
 
bool m_forced {false}
 Subtitle and RawText. More...
 
AudioTrackType m_audio_type {kAudioTypeNormal}
 
int m_av_substream_index {-1}
 Audio only; -1 for no substream, 0 for first dual audio stream, 1 for second dual. More...
 

Detailed Description

Definition at line 75 of file decoderbase.h.

Constructor & Destructor Documentation

◆ StreamInfo() [1/3]

StreamInfo::StreamInfo ( )
default

◆ StreamInfo() [2/3]

StreamInfo::StreamInfo ( int  av_stream_index,
int  stream_id,
int  language = 0,
uint  language_index = 0,
bool  forced = false 
)
inline

Definition at line 83 of file decoderbase.h.

◆ StreamInfo() [3/3]

StreamInfo::StreamInfo ( int  av_stream_index,
int  stream_id,
int  language,
uint  language_index,
AudioTrackType  audio_type 
)
inline

Definition at line 94 of file decoderbase.h.

Member Function Documentation

◆ operator<()

bool StreamInfo::operator< ( const StreamInfo b) const
inline

Definition at line 114 of file decoderbase.h.

Member Data Documentation

◆ m_av_stream_index

int StreamInfo::m_av_stream_index {-1}

◆ m_stream_id

int StreamInfo::m_stream_id {-1}

◆ m_language

int StreamInfo::m_language {-2}

ISO639 canonical language key; Audio, Subtitle, CC, Teletext, RawText.

Definition at line 107 of file decoderbase.h.

Referenced by AvFormatDecoder::AutoSelectAudioTrack(), and AvFormatDecoder::UpdateATSCCaptionTracks().

◆ m_language_index

uint StreamInfo::m_language_index {0}

Audio, Subtitle, Teletext.

Definition at line 108 of file decoderbase.h.

Referenced by AvFormatDecoder::AutoSelectAudioTrack(), and AvFormatDecoder::UpdateATSCCaptionTracks().

◆ m_forced

bool StreamInfo::m_forced {false}

Subtitle and RawText.

Definition at line 109 of file decoderbase.h.

Referenced by MythPlayerUI::VideoStart().

◆ m_audio_type

AudioTrackType StreamInfo::m_audio_type {kAudioTypeNormal}

Definition at line 110 of file decoderbase.h.

◆ m_av_substream_index

int StreamInfo::m_av_substream_index {-1}

Audio only; -1 for no substream, 0 for first dual audio stream, 1 for second dual.

Definition at line 112 of file decoderbase.h.

Referenced by AvFormatDecoder::AutoSelectAudioTrack(), and AvFormatDecoder::SetupAudioStreamSubIndexes().


The documentation for this class was generated from the following file: