mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix mkv streams
This commit is contained in:
parent
e625f89788
commit
04817d1e17
1 changed files with 11 additions and 5 deletions
|
@ -152,6 +152,16 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
profile.TranscodingProfiles.filter(function (p) {
|
||||||
|
|
||||||
|
return p.Type == 'Video' && p.CopyTimestamps == true;
|
||||||
|
|
||||||
|
}).forEach(function (p) {
|
||||||
|
|
||||||
|
// Vlc doesn't seem to handle this well
|
||||||
|
p.CopyTimestamps = false;
|
||||||
|
});
|
||||||
|
|
||||||
profile.TranscodingProfiles.filter(function (p) {
|
profile.TranscodingProfiles.filter(function (p) {
|
||||||
|
|
||||||
return p.Type == 'Video' && p.VideoCodec == 'h264';
|
return p.Type == 'Video' && p.VideoCodec == 'h264';
|
||||||
|
@ -746,12 +756,8 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// Reports of stuttering with h264 stream copy in IE
|
|
||||||
if (mediaUrl.indexOf('.mkv') == -1) {
|
|
||||||
mediaUrl += '&EnableAutoStreamCopy=false';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mediaUrl.toLowerCase().indexOf('copytimestamps=true') == -1) {
|
if (mediaUrl.toLowerCase().indexOf('copytimestamps=true') == -1) {
|
||||||
|
startPositionInSeekParam = 0;
|
||||||
startTimeTicksOffset = startPosition || 0;
|
startTimeTicksOffset = startPosition || 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue