Check if dash already has thumbnails
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user