libobs: Add missing VIDEO_FORMAT_V210 handling in switch statements

Format was added to enum but not handled in all switch statement
handling the enum.
This commit is contained in:
PatTheMav
2023-03-26 16:03:30 +02:00
committed by Ryan Foster
parent 94bf325dd9
commit 90f46a9d4d
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -371,6 +371,7 @@ void video_frame_copy(struct video_frame *dst, const struct video_frame *src,
case VIDEO_FORMAT_BGRX:
case VIDEO_FORMAT_BGR3:
case VIDEO_FORMAT_AYUV:
case VIDEO_FORMAT_V210:
memcpy(dst->data[0], src->data[0], src->linesize[0] * cy);
break;
+1
View File
@@ -779,6 +779,7 @@ static void set_gpu_converted_data(struct video_frame *output,
case VIDEO_FORMAT_YUVA:
case VIDEO_FORMAT_YA2L:
case VIDEO_FORMAT_AYUV:
case VIDEO_FORMAT_V210:
/* unimplemented */
;
}