obs-ffmpeg: Fix bug on non-MSVC compilers

This happens because the enum had the incorrect name, and microsoft
automatically treats all enums as integers in C, regardless of whether
they actually exist or not.  Microsoft makes terrible compilers and
whoever decided this was a good idea should be fired.
This commit is contained in:
jp9000 2017-03-31 12:44:08 -07:00
parent 1d69e359ec
commit 8f4f38c30e

View File

@ -45,7 +45,7 @@ struct ffmpeg_source {
enum AVPixelFormat sws_format;
uint8_t *sws_data;
int sws_linesize;
enum video_range range;
enum video_range_type range;
obs_source_t *source;
char *input;