mirror of
https://github.com/ente-io/ente.git
synced 2025-08-12 01:04:48 +00:00
fix: stream size issues
This commit is contained in:
parent
d0a2502a39
commit
e0cbe47052
@ -388,6 +388,7 @@ class PreviewVideoStore {
|
|||||||
'type': 'hls_video',
|
'type': 'hls_video',
|
||||||
'width': width,
|
'width': width,
|
||||||
'height': height,
|
'height': height,
|
||||||
|
'size': objectSize,
|
||||||
},
|
},
|
||||||
encryptionKey,
|
encryptionKey,
|
||||||
);
|
);
|
||||||
@ -495,7 +496,7 @@ class PreviewVideoStore {
|
|||||||
|
|
||||||
width = playlistData["width"];
|
width = playlistData["width"];
|
||||||
height = playlistData["height"];
|
height = playlistData["height"];
|
||||||
size = response.data["data"]["objectSize"];
|
size = playlistData["size"];
|
||||||
|
|
||||||
if (objectKey != null) {
|
if (objectKey != null) {
|
||||||
unawaited(
|
unawaited(
|
||||||
|
@ -32,7 +32,7 @@ class _PreviewPropertiesItemWidgetState
|
|||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
_getSection();
|
Future.microtask(() => _getSection());
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user