We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8261088 commit 97a6db3Copy full SHA for 97a6db3
dartvlc/internal/internal.h
@@ -26,8 +26,8 @@ class PlayerInternal {
26
std::unique_ptr<PlayerState> state_ = nullptr;
27
std::unique_ptr<uint8_t[]> video_frame_buffer_ =
28
std::make_unique<uint8_t[]>(BUFFER_SIZE);
29
- int32_t video_width_ = 0;
30
- int32_t video_height_ = 0;
+ int32_t video_width_ = -1;
+ int32_t video_height_ = -1;
31
std::optional<int32_t> preferred_video_width_ = std::nullopt;
32
std::optional<int32_t> preferred_video_height_ = std::nullopt;
33
bool is_playlist_modified_ = false;
0 commit comments