Check if dash already has thumbnails

This commit is contained in:
Brahim Hadriche committed 2022-11-29 21:43:18 -05:00
1 parent 5b10696400
commit 2f5ac709ba
1 file changed
+6
@@ -72,6 +72,12 @@ namespace Http
sets = period.GetChildNodes()
for each set in sets
attributes = set.GetAttributes()
contentType = attributes.contentType
mimeType = attributes.mimeType
' If the DASH already has thumbnails, abort
if contentType = "image" or (mimeType <> invalid and mimeType.StartsWith("image"))
return ""
end if
id = attributes.id
idInt = id.toInt()
if idInt >= thumb_id