This commit is contained in:
twinaphex 2017-05-19 01:19:28 +02:00
parent f341f70705
commit 89dddaf9f0

View File

@ -2343,11 +2343,10 @@ void video_driver_frame(const void *data, unsigned width,
&& msg)
strlcpy(video_driver_msg, msg, sizeof(video_driver_msg));
if (!current_video || !current_video->frame(
video_driver_data, data, width, height,
video_driver_frame_count,
(unsigned)pitch, video_driver_msg, &video_info))
video_driver_active = false;
video_driver_active = current_video->frame(
video_driver_data, data, width, height,
video_driver_frame_count,
(unsigned)pitch, video_driver_msg, &video_info);
video_driver_frame_count++;