sfe::StreamDescriptor Struct Reference

#include <StreamSelection.hpp>

Static Public Member Functions

static StreamDescriptor NoSelection (MediaType type)

Public Attributes

MediaType type
 Stream kind: video, audio or subtitle.
int identifier
 Internal stream identifier in the media, used for choosing which stream to enable.
std::string language
 Language code defined by ISO 639-2, if set by the media.

Detailed Description

Structure that allows both knowing metadata about each stream, and identifying streams for selection through Movie::selectStream()

Member Function Documentation

static StreamDescriptor sfe::StreamDescriptor::NoSelection ( MediaType  type)
static

Return a stream descriptor that identifies no stream. This allows disabling a specific stream kind

Parameters
typethe stream kind (audio, video...) to disable
Returns
a StreamDescriptor that can be used to disable the given stream kind

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