体验新版 GitCode,发现更多精彩内容 >>
If we encounter a video device with primary=yes, we insert it at def->videos[0]. There is no need to record this in a separate variable, just check if there already is a primary video at def->videos[0].
拖放文件到此处或点击上传