Skip to content

Commit

Permalink
don't mess with serverCodecModeSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jul 26, 2023
1 parent 5d7df4e commit fbd2535
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/stream/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ session_t *session_create(app_t *app, const CONFIGURATION *config, const SERVER_
session->display_height = app->ui.height;
session->video_cap = app->ss4s.video_cap;
session->server = serverdata_clone(server);
// The flags seem to be the same to supportedVideoFormats, use it for now...
session->server->serverInfo.serverCodecModeSupport = session->config.stream.supportedVideoFormats;
session->app_id = app_id;
session->mutex = SDL_CreateMutex();
session->state_lock = SDL_CreateMutex();
Expand Down

0 comments on commit fbd2535

Please sign in to comment.