encoders/generic: Reduce warnings, fix encoding, remove threading options, and profiling

* Improved encoding loop can now deal with early and late receive requests.
* Lots of warnings fixed.
* Removed all threading options (they were broken anyway).
* Added some profiler calls.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-07-07 00:34:56 +02:00
parent 16015f180b
commit 976e5dba4f
3 changed files with 179 additions and 185 deletions
-11
View File
@@ -18,17 +18,6 @@ RateControl.KeyFrame.Type.Seconds="Seconds"
RateControl.KeyFrame.Interval="Key Frame Interval"
RateControl.KeyFrame.Interval.Description="Interval in which a Key Frame is placed. Not all encoders support this."
# Threading
MultiThreading="Multi-Threading"
MultiThreading.Model="Threading Model"
MultiThreading.Model.Description="Some encoders offer multi threading capabilities which can take advantage of multi-core systems."
MultiThreading.Model.Automatic="Automatic"
MultiThreading.Model.None="Single Threaded"
MultiThreading.Model.Frame="Frame-Threading"
MultiThreading.Model.Slice="Slice-Threading"
MultiThreading.ThreadCount="Number of Threads"
MultiThreading.ThreadCount.Description="The number of threads to use, with 0 being automatic.\nEncoders with 'Automatic-Threading' in the name control threads themselves and will behave different with the 0 value."
# FFmpeg
FFmpeg="FFmpeg Options"
FFmpeg.CustomSettings="Custom Settings"