Skip to content

Commit

Permalink
Windows: Initialize FlutterDesktopPixelBuffer (alexmercerind#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnschulze authored Aug 19, 2021
1 parent 848ac9a commit e05e2b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions windows/video_outlet.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef VIDEO_OUTLET_H
#define VIDEO_OUTLET_H
#ifndef VIDEO_OUTLET_H_
#define VIDEO_OUTLET_H_

#include <flutter/method_channel.h>
#include <flutter/plugin_registrar_windows.h>
Expand All @@ -18,7 +18,7 @@ class VideoOutlet {
~VideoOutlet();

private:
FlutterDesktopPixelBuffer flutter_pixel_buffer_;
FlutterDesktopPixelBuffer flutter_pixel_buffer_{};
flutter::TextureRegistrar* texture_registrar_ = nullptr;
std::unique_ptr<flutter::TextureVariant> texture_ = nullptr;
int64_t texture_id_;
Expand Down

0 comments on commit e05e2b4

Please sign in to comment.