730eb1086a
All demuxer errors were reported as "device disconnected", even if the failure was not related to device socket read.
6 lines
367 B
C
6 lines
367 B
C
#define SC_EVENT_NEW_FRAME SDL_USEREVENT
|
|
#define SC_EVENT_DEVICE_DISCONNECTED (SDL_USEREVENT + 1)
|
|
#define SC_EVENT_SERVER_CONNECTION_FAILED (SDL_USEREVENT + 2)
|
|
#define SC_EVENT_SERVER_CONNECTED (SDL_USEREVENT + 3)
|
|
#define SC_EVENT_USB_DEVICE_DISCONNECTED (SDL_USEREVENT + 4)
|
|
#define SC_EVENT_DEMUXER_ERROR (SDL_USEREVENT + 5)
|