From 38cb1ed39b75e1674d331ac139e1526d7ba6583e Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 7 Mar 2015 09:35:19 -0800 Subject: [PATCH] libobs: Make filter_video callback param non-const The frame is definitely meant to be modifiable if needed, so it shouldn't be const. I originally meant for these frames to be duplicated, but with the source video cache that's both unnecessary and would reduce performance. --- libobs/obs-source.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/obs-source.h b/libobs/obs-source.h index 718016f5a..87145294e 100644 --- a/libobs/obs-source.h +++ b/libobs/obs-source.h @@ -250,7 +250,7 @@ struct obs_source_info { * be drawn later if time is needed for processing */ struct obs_source_frame *(*filter_video)(void *data, - const struct obs_source_frame *frame); + struct obs_source_frame *frame); /** * Called to filter raw audio data.