mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
UI: Add composition_gpu_index
to multitrack video postdata
This commit is contained in:
parent
d7e2636316
commit
600a564039
@ -36,6 +36,8 @@ constructGoLivePost(QString streamKey,
|
||||
|
||||
preferences.canvas_width = ovi.base_width;
|
||||
preferences.canvas_height = ovi.base_height;
|
||||
|
||||
preferences.composition_gpu_index = ovi.adapter;
|
||||
}
|
||||
|
||||
if (maximum_aggregate_bitrate.has_value())
|
||||
|
@ -191,11 +191,12 @@ struct Preferences {
|
||||
media_frames_per_second framerate;
|
||||
uint32_t canvas_width;
|
||||
uint32_t canvas_height;
|
||||
optional<uint32_t> composition_gpu_index;
|
||||
|
||||
NLOHMANN_DEFINE_TYPE_INTRUSIVE(Preferences, maximum_aggregate_bitrate,
|
||||
maximum_video_tracks, vod_track_audio,
|
||||
width, height, framerate, canvas_width,
|
||||
canvas_height)
|
||||
canvas_height, composition_gpu_index)
|
||||
};
|
||||
|
||||
struct PostData {
|
||||
|
Loading…
Reference in New Issue
Block a user