Browse Source

fixed some warnings (when on earth did I do a bad find/replace on these functions?)

jp9000 12 years ago
parent
commit
6d5ef2fb62
2 changed files with 2 additions and 3 deletions
  1. 0 1
      libobs/obs.c
  2. 2 2
      libobs/obs.h

+ 0 - 1
libobs/obs.c

@@ -49,7 +49,6 @@ static inline void make_video_info(struct video_info *vi,
 static bool obs_init_textures(struct obs_video_info *ovi)
 {
 	struct obs_video *video = &obs->video;
-	bool success = true;
 	size_t i;
 
 	for (i = 0; i < NUM_TEXTURES; i++) {

+ 2 - 2
libobs/obs.h

@@ -368,11 +368,11 @@ EXPORT const char *obs_source_get_settings(obs_source_t source);
 EXPORT void obs_source_save_settings(obs_source_t source, const char *settings);
 
 /** Outputs asynchronous video data */
-EXPORT void obs_source_obs_async_video(obs_source_t source,
+EXPORT void obs_source_output_video(obs_source_t source,
 		const struct source_frame *frame);
 
 /** Outputs audio data (always asynchronous) */
-EXPORT void obs_source_obs_async_audio(obs_source_t source,
+EXPORT void obs_source_output_audio(obs_source_t source,
 		const struct source_audio *audio);
 
 /** Gets the current async video frame */