obs-ffmpeg: Add alias of CS601 support

This commit is contained in:
John Bradley 2015-03-12 14:46:45 -05:00
parent 5465fcb4a2
commit 52aae96f74

View File

@ -78,6 +78,7 @@ static bool set_obs_frame_colorprops(struct ff_frame *frame,
switch(frame_cs) {
case AVCOL_SPC_BT709: obs_cs = VIDEO_CS_709; break;
case AVCOL_SPC_SMPTE170M:
case AVCOL_SPC_BT470BG: obs_cs = VIDEO_CS_601; break;
case AVCOL_SPC_UNSPECIFIED: obs_cs = VIDEO_CS_DEFAULT; break;
default: