mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-08-06 18:40:31 +00:00
format code
This commit is contained in:
parent
8888dea5fe
commit
c85997db22
@ -235,9 +235,7 @@ int main(int argc, char *argv[]) {
|
||||
auto audio_packets = mail->queue<audio::packet_t>(mail::audio_packets);
|
||||
auto local_shutdown = mail->event<bool>(mail::shutdown);
|
||||
|
||||
#ifdef _WIN32
|
||||
platf::adjust_thread_priority(platf::thread_priority_e::critical);
|
||||
#endif
|
||||
|
||||
while (!process_shutdown_event->peek() && !local_shutdown->peek()) {
|
||||
do {
|
||||
@ -286,9 +284,7 @@ int main(int argc, char *argv[]) {
|
||||
auto audio_packets = mail->queue<audio::packet_t>(mail::audio_packets);
|
||||
auto local_shutdown = mail->event<bool>(mail::shutdown);
|
||||
|
||||
#ifdef _WIN32
|
||||
platf::adjust_thread_priority(platf::thread_priority_e::critical);
|
||||
#endif
|
||||
|
||||
char sum = 0;
|
||||
uint64_t findex = 0;
|
||||
|
||||
@ -307,6 +307,6 @@ extern bool last_encoder_probe_supported_ref_frames_invalidation;
|
||||
|
||||
void capture(safe::mail_t mail, config_t config, void *channel_data);
|
||||
|
||||
bool validate_encoder(encoder_t &encoder, bool expect_failure);
|
||||
int probe_encoders();
|
||||
|
||||
} // namespace video
|
||||
|
||||
Loading…
Reference in New Issue
Block a user