Skip to content

Commit

Permalink
upd hw decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
cqjjjzr committed Nov 29, 2022
1 parent 98321f8 commit 8b40cdd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions streamlink-source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8b40cdd

Please sign in to comment.