From 8421690c33b0d236e0e08f0654c47656bca1ed56 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 24 Oct 2013 01:03:45 -0700 Subject: [PATCH] made some slight corrections --- build/data/effects/yuv_to_rgb.effect | 2 +- libobs/obs.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/data/effects/yuv_to_rgb.effect b/build/data/effects/yuv_to_rgb.effect index 5cb3de13b..611bf6df8 100644 --- a/build/data/effects/yuv_to_rgb.effect +++ b/build/data/effects/yuv_to_rgb.effect @@ -21,7 +21,7 @@ VertInOut VSConvert(VertInOut vert_in) return vert_out; } -float4 PSConvert(VertInOut vert_in) +float4 PSConvert(VertInOut vert_in) : TARGET { float4 yuv = tex.Sample(def_sampler, vert_in.uv); return saturate(mul(float4(yuv.xyz, 1.0), yuv_matrix)); diff --git a/libobs/obs.h b/libobs/obs.h index 0a1163121..0aedf9a58 100644 --- a/libobs/obs.h +++ b/libobs/obs.h @@ -40,7 +40,7 @@ enum obs_source_type { }; /* used for changing the order of items (for example, filters in a source, - * or items in a scene */ + * or items in a scene) */ enum order_movement { ORDER_MOVE_UP, ORDER_MOVE_DOWN, @@ -297,7 +297,7 @@ EXPORT void obs_source_obs_async_audio(obs_source_t source, /** Gets the current async video frame */ EXPORT struct source_frame *obs_source_getframe(obs_source_t source); -/** Relases the current async frame */ +/** Releases the current async video frame */ EXPORT void obs_source_releaseframe(obs_source_t source, struct source_frame *frame);