Skip to content

Commit 8b40cdd

Browse files
committed
upd hw decoding
1 parent 98321f8 commit 8b40cdd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

streamlink-source.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,8 @@ static void streamlink_source_update(void *data, obs_data_t *settings)
369369
bfree(s->live_room_url);
370370
const char* live_room_url = obs_data_get_string(settings, URL);
371371
s->live_room_url = live_room_url ? bstrdup(live_room_url) : NULL;
372-
373-
#ifndef __APPLE__
372+
374373
s->is_hw_decoding = obs_data_get_bool(settings, HW_DECODE);
375-
#endif
376374

377375
// Removed due to confusion, see `streamlink_source_getproperties`.
378376
//if (s->ffmpeg_options)

0 commit comments

Comments
 (0)