change names, fix some bugs, minor GL/D3D fixes, update tests, fix effect files, output a little more debug information
This commit is contained in:
@@ -89,13 +89,10 @@ int audio_output_open(audio_t *audio, media_t media, struct audio_info *info)
|
||||
|
||||
if (pthread_mutex_init(&out->data_mutex, NULL) != 0)
|
||||
goto fail;
|
||||
|
||||
if (event_init(&out->stop_event, true) != 0)
|
||||
goto fail;
|
||||
|
||||
if (!ao_add_to_media(out))
|
||||
goto fail;
|
||||
|
||||
if (pthread_create(&out->thread, NULL, audio_thread, out) != 0)
|
||||
goto fail;
|
||||
|
||||
|
@@ -116,16 +116,12 @@ int video_output_open(video_t *video, media_t media, struct video_info *info)
|
||||
|
||||
if (pthread_mutex_init(&out->data_mutex, NULL) != 0)
|
||||
goto fail;
|
||||
|
||||
if (event_init(&out->stop_event, true) != 0)
|
||||
goto fail;
|
||||
|
||||
if (event_init(&out->update_event, false) != 0)
|
||||
goto fail;
|
||||
|
||||
if (!vo_add_to_media(out))
|
||||
goto fail;
|
||||
|
||||
if (pthread_create(&out->thread, NULL, video_thread, out) != 0)
|
||||
goto fail;
|
||||
|
||||
|
Reference in New Issue
Block a user