Commit f137a3c74d11
tarball1 file changed+4-1
@@ -321,8 +321,11 @@ async fn media_file(
321321
})322322
}323323
324
+/// servers without spec v1.11 animated thumbnails ignore the flag and send a still frame324325
fn thumbnail_format(width: u32, height: u32) -> MediaFormat {325
- MediaFormat::Thumbnail(MediaThumbnailSettings::new(width.into(), height.into()))326
+ let mut settings = MediaThumbnailSettings::new(width.into(), height.into());327
+ settings.animated = true;328
+ MediaFormat::Thumbnail(settings)326329
}327330
328331
fn is_local(source: &MediaSource) -> bool {