From 8b40cddbbc9e9e5a50dca4a54cd429b08b582dde Mon Sep 17 00:00:00 2001 From: Charlie Jiang Date: Wed, 30 Nov 2022 04:31:15 +0800 Subject: [PATCH] upd hw decoding --- streamlink-source.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/streamlink-source.cpp b/streamlink-source.cpp index a12a170..ee1a500 100644 --- a/streamlink-source.cpp +++ b/streamlink-source.cpp @@ -369,10 +369,8 @@ static void streamlink_source_update(void *data, obs_data_t *settings) bfree(s->live_room_url); const char* live_room_url = obs_data_get_string(settings, URL); s->live_room_url = live_room_url ? bstrdup(live_room_url) : NULL; - -#ifndef __APPLE__ + s->is_hw_decoding = obs_data_get_bool(settings, HW_DECODE); -#endif // Removed due to confusion, see `streamlink_source_getproperties`. //if (s->ffmpeg_options)