Skip to content

Commit a21487d

Browse files
committed
Update code docs
1 parent 75ad540 commit a21487d

1 file changed

Lines changed: 30 additions & 28 deletions

File tree

docs/source_utils_deviceCapabilities.bs.html

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -992,35 +992,37 @@
992992

993993
' Print out the deviceProfile for debugging
994994
sub printDeviceProfile(profile as object)
995-
print "profile =", profile
996-
print "profile.DeviceProfile =", profile.DeviceProfile
997-
print "profile.DeviceProfile.CodecProfiles ="
998-
for each prof in profile.DeviceProfile.CodecProfiles
999-
print prof
1000-
for each cond in prof.Conditions
1001-
print cond
1002-
end for
1003-
end for
1004-
print "profile.DeviceProfile.ContainerProfiles =", profile.DeviceProfile.ContainerProfiles
1005-
print "profile.DeviceProfile.DirectPlayProfiles ="
1006-
for each prof in profile.DeviceProfile.DirectPlayProfiles
1007-
print prof
1008-
end for
1009-
print "profile.DeviceProfile.SubtitleProfiles ="
1010-
for each prof in profile.DeviceProfile.SubtitleProfiles
1011-
print prof
1012-
end for
1013-
print "profile.DeviceProfile.TranscodingProfiles ="
1014-
for each prof in profile.DeviceProfile.TranscodingProfiles
1015-
print prof
1016-
if isValid(prof.Conditions)
1017-
for each condition in prof.Conditions
1018-
print condition
995+
#if debug
996+
print "profile =", profile
997+
print "profile.DeviceProfile =", profile.DeviceProfile
998+
print "profile.DeviceProfile.CodecProfiles ="
999+
for each prof in profile.DeviceProfile.CodecProfiles
1000+
print prof
1001+
for each cond in prof.Conditions
1002+
print cond
10191003
end for
1020-
end if
1021-
end for
1022-
print "profile.PlayableMediaTypes =", profile.PlayableMediaTypes
1023-
print "profile.SupportedCommands =", profile.SupportedCommands
1004+
end for
1005+
print "profile.DeviceProfile.ContainerProfiles =", profile.DeviceProfile.ContainerProfiles
1006+
print "profile.DeviceProfile.DirectPlayProfiles ="
1007+
for each prof in profile.DeviceProfile.DirectPlayProfiles
1008+
print prof
1009+
end for
1010+
print "profile.DeviceProfile.SubtitleProfiles ="
1011+
for each prof in profile.DeviceProfile.SubtitleProfiles
1012+
print prof
1013+
end for
1014+
print "profile.DeviceProfile.TranscodingProfiles ="
1015+
for each prof in profile.DeviceProfile.TranscodingProfiles
1016+
print prof
1017+
if isValid(prof.Conditions)
1018+
for each condition in prof.Conditions
1019+
print condition
1020+
end for
1021+
end if
1022+
end for
1023+
print "profile.PlayableMediaTypes =", profile.PlayableMediaTypes
1024+
print "profile.SupportedCommands =", profile.SupportedCommands
1025+
#end if
10241026
end sub
10251027

10261028
' does this roku device support playing 4k video?

0 commit comments

Comments
 (0)