提交 a9f5959b 编写于 作者: J jp9000

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.
上级 f2ee9507
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册