Skip to content

Commit

Permalink
Allow PostStopMessage to bypass reconnect logic
Browse files Browse the repository at this point in the history
  • Loading branch information
palana committed Sep 24, 2014
1 parent 044fac9 commit b998dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/OBS.h
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ class OBS

char* EncMetaData(char *enc, char *pend, bool bFLVFile=false);

inline void PostStopMessage() {if(hwndMain) PostMessage(hwndMain, OBS_REQUESTSTOP, 0, 0);}
inline void PostStopMessage(bool forceStop=false) {if(hwndMain) PostMessage(hwndMain, OBS_REQUESTSTOP, forceStop ? 1 : 0, 0);}
inline void NetworkFailed() { if (hwndMain) PostMessage(hwndMain, OBS_NETWORK_FAILED, 0, 0); }

void GetBaseSize(UINT &width, UINT &height) const;
Expand Down

0 comments on commit b998dd5

Please sign in to comment.