1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

capture key frame info

This commit is contained in:
Luke Pulverenti 2015-04-10 15:08:09 -04:00
parent 26fd1612eb
commit de13047040

View file

@ -1324,6 +1324,10 @@
attributes.push(createAttribute(Globalize.translate('MediaInfoRefFrames'), stream.RefFrames)); attributes.push(createAttribute(Globalize.translate('MediaInfoRefFrames'), stream.RefFrames));
} }
if (stream.KeyFrames) {
//attributes.push(createAttribute(Globalize.translate('MediaInfoKeyFrames'), stream.KeyFrames.join(', ')));
}
if (stream.Type != "Video") { if (stream.Type != "Video") {
attributes.push(createAttribute(Globalize.translate('MediaInfoDefault'), (stream.IsDefault ? 'Yes' : 'No'))); attributes.push(createAttribute(Globalize.translate('MediaInfoDefault'), (stream.IsDefault ? 'Yes' : 'No')));
} }