Gtk: Don't allow threading with NTSC filter.

This commit is contained in:
BearOso 2023-10-09 14:01:52 -05:00
parent 49556cd5d1
commit 039e68d306

View File

@ -617,6 +617,10 @@ static void internal_threaded_filter(uint8 *src_buffer,
int width,
int height)
{
// NTSC filter has internal state, so it can't be threaded properly.
if (gui_config->scale_method == FILTER_NTSC)
return internal_filter(src_buffer, src_pitch, dst_buffer, dst_pitch, width, height);
/* If the threadpool doesn't exist, create it */
create_thread_pool();