Bond_009
24a7e210c3
Optimize tryparse
...
* Don't check for null before
* Don't try different formats when not needed (NumberFormat.Integer is the fast path)
2 years ago
Joshua M. Boniface
9c97c533ef
Merge pull request #7994 from nyanmisaka/fix-throttler
...
(cherry picked from commit a7d45b5d3a
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
3 years ago
Fernando Fernández
3d0b1ccae6
Remove all unused usings
3 years ago
Cody Robibero
d461e3912a
Remove warninigs from MediaBrowser.Controller (Part 3) ( #6078 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
Bond_009
bc7359f87d
Use string.Split(char) where possible instead of string.Split(char[])
4 years ago
Bond_009
404bb4f835
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
4 years ago
dkanada
b7a9900556
Merge pull request #2357 from Bond-009/warn13
...
Fix warnings
5 years ago
Nyanmisaka
c149fcb3ee
Update MediaBrowser.Controller/MediaEncoding/JobLogger.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Nyanmisaka
2c3b1bb8cb
Update JobLogger.cs
5 years ago
Nyanmisaka
7472ae5ca9
fix fps info issue when the video is h264.
...
Fixed an issue that when the media source is in H264 format and the frame rate info is not displayed due to missing space characters in ffmpeg log.
5 years ago
Nyanmisaka
8eced835c0
Update JobLogger.cs
5 years ago
Bond_009
87d2479b78
Fix warnings
5 years ago
ThreeFive-O
4f3bfd9146
Add Transcoding framerate info
5 years ago
Bond_009
b647959ec4
Add EnableOutputInSubFolder back
6 years ago
Bond_009
93e535d3a1
Trying to make sense of the streaming code
...
Mostly small changes as I was looking through the code.
* async void -> async Task
* Properly implemented dispose methods
* Pass the logstream directly to the JobLogger
* Style fixes
6 years ago
Bond_009
d5f080fefb
Check before flushing ffmpeg log
...
The stream could have been diposed while writing.
6 years ago
Claus Vium
547d0ecf58
Move the check further down
6 years ago
Claus Vium
96b3d37caf
Check that ffmpeg log target isn't disposed before writing to it
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
26ca4b607b
Visual Studio Reformat: MediaBrowser.Controller
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago
Bond_009
0c1b9d3bff
Rebase
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Andrew Rabert
a86b71899e
Add GPL modules
6 years ago
Luke Pulverenti
4ea3925626
auto fallback from gpu to cpu
7 years ago
Luke Pulverenti
c9be9b4141
update hls params
8 years ago