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 a, int b, uint c, int d, int e, bool f=false, bool g=false, bool h=false, AudioTrackType i=kAudioTypeNormal)
 
 StreamInfo (int a, int b, uint c, int d, int e, int f, bool g=false, bool h=false, bool i=false, AudioTrackType j=kAudioTypeNormal)
 
bool operator< (const StreamInfo &b) const
 

Public Attributes

int m_av_stream_index {-1}
 
int m_av_substream_index {-1}
 -1 for no substream, 0 for first dual audio stream, 1 for second dual More...
 
int m_language {-2}
 ISO639 canonical language key. More...
 
uint m_language_index {0}
 
int m_stream_id {-1}
 
bool m_easy_reader {false}
 
bool m_wide_aspect_ratio {false}
 
int m_orig_num_channels {2}
 
bool m_forced {false}
 
AudioTrackType m_audio_type {kAudioTypeNormal}
 

Detailed Description

Definition at line 74 of file decoderbase.h.

Constructor & Destructor Documentation

◆ StreamInfo() [1/3]

StreamInfo::StreamInfo ( )
default

◆ StreamInfo() [2/3]

StreamInfo::StreamInfo ( int  a,
int  b,
uint  c,
int  d,
int  e,
bool  f = false,
bool  g = false,
bool  h = false,
AudioTrackType  i = kAudioTypeNormal 
)
inline

Definition at line 78 of file decoderbase.h.

◆ StreamInfo() [3/3]

StreamInfo::StreamInfo ( int  a,
int  b,
uint  c,
int  d,
int  e,
int  f,
bool  g = false,
bool  h = false,
bool  i = false,
AudioTrackType  j = kAudioTypeNormal 
)
inline

Definition at line 85 of file decoderbase.h.

Member Function Documentation

◆ operator<()

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

Definition at line 106 of file decoderbase.h.

Member Data Documentation

◆ m_av_stream_index

int StreamInfo::m_av_stream_index {-1}

◆ m_av_substream_index

int StreamInfo::m_av_substream_index {-1}

-1 for no substream, 0 for first dual audio stream, 1 for second dual

Definition at line 96 of file decoderbase.h.

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

◆ m_language

int StreamInfo::m_language {-2}

ISO639 canonical language key.

Definition at line 97 of file decoderbase.h.

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

◆ m_language_index

uint StreamInfo::m_language_index {0}

◆ m_stream_id

int StreamInfo::m_stream_id {-1}

◆ m_easy_reader

bool StreamInfo::m_easy_reader {false}

Definition at line 100 of file decoderbase.h.

◆ m_wide_aspect_ratio

bool StreamInfo::m_wide_aspect_ratio {false}

Definition at line 101 of file decoderbase.h.

◆ m_orig_num_channels

int StreamInfo::m_orig_num_channels {2}

Definition at line 102 of file decoderbase.h.

◆ m_forced

bool StreamInfo::m_forced {false}

Definition at line 103 of file decoderbase.h.

Referenced by MythPlayerUI::VideoStart().

◆ m_audio_type

AudioTrackType StreamInfo::m_audio_type {kAudioTypeNormal}

Definition at line 104 of file decoderbase.h.


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