This will automatically update profiles to the new encoder selection
according to the old setting resolution, i.e. UseQSV && UseNVENC results
in QSV being selected.
This should free up some space to allow more encoder troubleshooting and
diagnostics in the settings window (relevant QSV changes coming soon ...)
Also hopefully made supported encoder settings a bit more clear by
disabling more settings if the selected encoder doesn't support them
Until file monitoring has been fixed I want to always append game
capture logs to the end of regular logs. I'm just tired of seeing logs
from users where game capture clearly worked and yet no game capture log
at the end of the file.
Applies only when in file only mode or with stream paused while file
output is enabled
Still need to evaluate not closing the file prematurely while stream is
active with a large number of buffered frames in the encoder
This should fix initialization on Optimus laptops if QSVHelper is forced
to the Nvidia graphics card (fix as in not initialize a non-accelerated
session resulting in sub par performance)
Sadly this will also disable the QSV checkbox in advanced settings for
some people that should have QSV support
The first FLV packet was getting thrown off by initialTimeStamp, because
I foolishly forgot that even if the function was called with 0 as the
argument for the timestamp, it would still subtract the -1 from that.
Also made the capitalization of timestamp to be consistent with other
variable in the file.
I'd rather have the cursor for the desktop texture to show properly than
show up garbled. I'd rather be spending my time in obs-studio right now
though. obs-studio will have a built-in way of dealing with
multi-texture based sources much better (rendering to texture)
Currently only handles the vanilla OBS case of two possible codecs, i.e.
it won't list multiple listed supported codecs as alternatives in the
warning message; also doesn't verify that the listed codecs are actually
available in OBS
Other than that it supports multiple "supported audio codec" entries
in services.xconfig per service, in case anyone wants to white list
both MP3 and AAC for their service:
```
recommended : {
"supported audio codec" : "MP3"
"supported audio codec" : "AAC"
}
```
This should allow plugins to implement their own version of a log window
without having to worry about providing lightweight-ish and non-blocking
callback functions for OBSApi.
@jp9000
Implement log window
Also made it so that the log window position/size is saved. Defaults to
600x500, centered to the main monitor if no configuration found.
@palana
Log system integration and callback behavior
Due to updatesAvailable being uninitialized there was a chance no error
message would be shown in case HTTPGetFile or ParseManifest returned
an error (the latter only when returning an error before setting
updatesAvailable) or the response code from HTTPGetFile was neither 200
nor 304
Currently an error is shown in case OK or Apply is clicked to preserve
the non-modifying behaviour of Cancel
TODO: add warnings somewhere to notify the user of problems before OK
or Apply is clicked
No new log files will be added to prevent the current log file from
becoming the topmost entry, which would render the "Upload last Log File"
entry useless