Bond-009
817996da4b
Merge pull request #7494 from Shadowghost/streambuilder-cleanup
2 years ago
Shadowghost
81a7261980
Default to no bitrate limit if no maxBitrate is set ( #8850 )
...
Fixes https://github.com/jellyfin/jellyfin/issues/3277
2 years ago
Shadowghost
0834dc58c1
Fix .Net 7 compatibility
2 years ago
Shadowghost
8e8a085b7e
Prefer var in StreamBuilder
2 years ago
Shadowghost
1cd7da8889
Apply review suggestions
2 years ago
Shadowghost
697efec86e
Cleanup and refactor streambuilder
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Dmitry Lyzo
2eb00bf3c0
fix secondary audio
...
Browsers (Chrome, Firefox) can only play the first track,
even if the second track is the default.
Ignore default flag when testing on secondary audio.
External audio tracks are not secondary.
2 years ago
Maxr1998
bf059d5b58
Backport pull request #8411 from jellyfin/release-10.8.z
...
Allow direct play even if no audio stream is available
Original-merge: bf129ab9b8
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
Cody Robibero
38102499cb
Merge pull request #7947 from nyanmisaka/video-range-condition
...
(cherry picked from commit f1d56aa5ce
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Joshua M. Boniface
47d150565d
Merge pull request #7712 from jellyfin/fix-hevc-disable-option
...
(cherry picked from commit 5a9e5e0d5d
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Joshua M. Boniface
2d8f7b46f1
Merge pull request #7699 from Shadowghost/streambuilder-fix
...
(cherry picked from commit b46d61dfdf
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Cody Robibero
688553b9a8
Merge pull request #7537 from dmitrylyzo/fix-streambuilder
...
(cherry picked from commit 5833c70725
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
3 years ago
Cody Robibero
1960b5bdce
Merge pull request #7523 from crobibero/null-stream
...
Allow media without streams to playback
(cherry picked from commit 577325b788
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Shadowghost
4e91c3ebdc
Fix DLNA DirectPlay
3 years ago
Dmitry Lyzo
e4137a6279
Fix remuxing
3 years ago
Dmitry Lyzo
1fe82d0deb
Add TranscodingProfile conditions
3 years ago
Cody Robibero
b9c3a497d5
Use requested bitrate for calculations
3 years ago
Cody Robibero
d29c7c1d9e
Revert using Math.Clamp
3 years ago
Cody Robibero
e6df698df1
Merge pull request #7325 from eyezak/issue/6450
3 years ago
Cody Robibero
3ea4174d12
Fix flipped Clamp args
3 years ago
Cody Robibero
da41cd365c
Suggestions from review
3 years ago
Cody Robibero
bbd5d11d3b
Remove TranscodeReason.None, Add JsonFlagEnum tests
3 years ago
Cody Robibero
c331e11c24
Clean up EnumFlags serialization
3 years ago
Isaac Gordezky
9ebd521754
Update MediaBrowser.Model/Dlna/StreamBuilder.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Isaac Gordezky
84a3db6f84
Fix transcode video matching and add tests for Transcode and Safari
3 years ago
Isaac Gordezky
5e779f20ee
Series: issue-6450
...
Issue: https://github.com/jellyfin/jellyfin/issues/6450
Enable DirectPlay responses
Rewrite DirectPlay and DirectStream resolution
Prefer copy transcode video codec options
Enhance condition processor
Support DirectStream and Transcode with parity
Rework audio stream selection and add tests for ExternalAudio
Update MediaInfoHelper to only call StreamBuilder once
3 years ago
Isaac Gordezky
d871dded9f
Convert TranscodeReason to Flags
3 years ago
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
3 years ago
Cody Robibero
904efeaddc
Add null check for audio stream
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Cody Robibero
55b429edb7
Merge pull request #6920 from marius-luca-87/subtitle_drop
3 years ago
cvium
a7a7173cd5
Force a remux/transcode with external audio files
3 years ago
Marius Luca
7d86ef6f22
- add an option for dropping specific subtitle formats using the DLNA SubtitleProfile
3 years ago
zehner
bbf40d6be2
Update StreamBuilder.cs
...
LogLevel INFO => DEBUG
3 years ago
KonH
6cbfdea4c0
Fix warning: Type cast is redundant ( #2149 )
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
BaronGreenback
bb6fddde9a
Group Methods
4 years ago
Bond-009
fa64d8e4f2
Merge pull request #5637 from dmitrylyzo/check-media-type
4 years ago
Dmitry Lyzo
36da7a06d7
Less negation
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
Max Rumpf
21e7ceae8e
StreamBuilder tweaks ( #5668 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Dmitry Lyzo
364e8931af
Check appropriate profile type
4 years ago
Bond_009
141efafd3d
Enable TreatWarningsAsErrors for MediaBrowser.Model
4 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
crobibero
c8a95e0926
Fix null reference when logging
4 years ago
nyanmisaka
b4598bd71b
Merge remote-tracking branch 'upstream/master' into fmp4-hls
4 years ago