Fix an error and a few warnings
The strings didn't have ending double quotes. No clue why this didn't fail in GCC and VC. Well, VC is horrible but I expected better out of GCC.
This commit is contained in:
parent
f2ee950746
commit
a9f5959b3c
@ -120,8 +120,6 @@ static inline void video_output_cur_frame(struct video_output *video)
|
||||
pthread_mutex_unlock(&video->input_mutex);
|
||||
}
|
||||
|
||||
static inline void nop() {int test = 0;}
|
||||
|
||||
static void *video_thread(void *param)
|
||||
{
|
||||
struct video_output *video = param;
|
||||
|
@ -133,6 +133,7 @@ static inline size_t get_property_size(enum obs_property_type type)
|
||||
{
|
||||
switch (type) {
|
||||
case OBS_PROPERTY_INVALID: return 0;
|
||||
case OBS_PROPERTY_BOOL: return 0;
|
||||
case OBS_PROPERTY_INT: return sizeof(struct int_data);
|
||||
case OBS_PROPERTY_FLOAT: return sizeof(struct float_data);
|
||||
case OBS_PROPERTY_TEXT: return 0;
|
||||
|
@ -182,8 +182,8 @@ void OBSApp::OBSInit()
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define INPUT_AUDIO_SOURCE "coreaudio_input_capture
|
||||
#define OUTPUT_AUDIO_SOURCE "coreaudio_output_capture
|
||||
#define INPUT_AUDIO_SOURCE "coreaudio_input_capture"
|
||||
#define OUTPUT_AUDIO_SOURCE "coreaudio_output_capture"
|
||||
#elif _WIN32
|
||||
#define INPUT_AUDIO_SOURCE "wasapi_input_capture"
|
||||
#define OUTPUT_AUDIO_SOURCE "wasapi_output_capture"
|
||||
|
Loading…
x
Reference in New Issue
Block a user