mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector
This commit is contained in:
@@ -293,7 +293,7 @@ void VideoStreamPlaybackWebm::update(float p_delta) {
|
||||
|
||||
if (err == VPXDecoder::NO_ERROR && image.w == webm->getWidth() && image.h == webm->getHeight()) {
|
||||
|
||||
DVector<uint8_t>::Write w = frame_data.write();
|
||||
PoolVector<uint8_t>::Write w = frame_data.write();
|
||||
bool converted = false;
|
||||
|
||||
if (image.chromaShiftW == 1 && image.chromaShiftH == 1) {
|
||||
|
||||
@@ -56,7 +56,7 @@ class VideoStreamPlaybackWebm : public VideoStreamPlayback {
|
||||
double delay_compensation;
|
||||
double time, video_frame_delay, video_pos;
|
||||
|
||||
DVector<uint8_t> frame_data;
|
||||
PoolVector<uint8_t> frame_data;
|
||||
Ref<ImageTexture> texture;
|
||||
|
||||
int16_t *pcm;
|
||||
|
||||
Reference in New Issue
Block a user