1
0
Fork 0
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:
Luke Pulverenti 2016-04-19 12:50:40 -04:00
parent e625f89788
commit 04817d1e17

View file

@ -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) {
return p.Type == 'Video' && p.VideoCodec == 'h264';
@ -746,12 +756,8 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use
} 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) {
startPositionInSeekParam = 0;
startTimeTicksOffset = startPosition || 0;
}