obs-outputs: Remove trailing/leading whitespace from key/url

master
jp9000 2016-03-24 13:42:33 -07:00
parent a7ce53367c
commit 2f2cb138bb
1 changed files with 2 additions and 0 deletions

View File

@ -648,6 +648,8 @@ static bool init_connect(struct rtmp_stream *stream)
dstr_copy(&stream->key, obs_service_get_key(service));
dstr_copy(&stream->username, obs_service_get_username(service));
dstr_copy(&stream->password, obs_service_get_password(service));
dstr_depad(&stream->path);
dstr_depad(&stream->key);
stream->drop_threshold_usec =
(int64_t)obs_data_get_int(settings, OPT_DROP_THRESHOLD) * 1000;
stream->max_shutdown_time_sec =