EchoesOfFate
A game for our COMP315 Project
 
Loading...
Searching...
No Matches
StreamSelector Class Reference

#include <StreamSelector.hpp>

Public Member Functions

 StreamSelector (sfe::Movie &movie)
 Initial setup is to select the first video and audio stream, and no subtitle stream.
 
void selectNextStream (sfe::MediaType type)
 Select the next found stream of the given type from the movie given at construction.
 

Constructor & Destructor Documentation

◆ StreamSelector()

StreamSelector::StreamSelector ( sfe::Movie & movie)

Initial setup is to select the first video and audio stream, and no subtitle stream.

Member Function Documentation

◆ selectNextStream()

void StreamSelector::selectNextStream ( sfe::MediaType type)

Select the next found stream of the given type from the movie given at construction.

Once all of the streams of a specific kind have been iterated, next call to this method unselect the current stream of the given type


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