Allow streaming with no audio device. Fixes #52

This commit is contained in:
Cameron Gutman
2018-08-31 00:09:31 -04:00
parent 16d105d462
commit 762fe92933
3 changed files with 68 additions and 3 deletions
+3
View File
@@ -49,6 +49,8 @@ private:
int sdlDetermineAudioConfiguration();
bool testAudio(int audioConfiguration);
void getWindowDimensions(bool fullScreen,
int& x, int& y,
int& width, int& height);
@@ -107,6 +109,7 @@ private:
IVideoDecoder* m_VideoDecoder;
SDL_SpinLock m_DecoderLock;
bool m_NeedsIdr;
bool m_AudioDisabled;
int m_ActiveVideoFormat;
int m_ActiveVideoWidth;