Browse Source

win32 compilation issue

David Rose 14 years ago
parent
commit
a1048204dc
1 changed files with 3 additions and 1 deletions
  1. 3 1
      panda/src/movies/ffmpegVideoCursor.h

+ 3 - 1
panda/src/movies/ffmpegVideoCursor.h

@@ -64,7 +64,8 @@ public:
   virtual bool set_time(double timestamp, int loop_count);
   virtual PT(Buffer) fetch_buffer();
 
-protected:
+public:
+  // Nested class must be public for PT(FfmpegBuffer) to work correctly.
   class FfmpegBuffer : public Buffer {
   public:
     ALLOC_DELETED_CHAIN(FfmpegBuffer);
@@ -94,6 +95,7 @@ protected:
     static TypeHandle _type_handle;
   };
 
+protected:
   virtual PT(Buffer) make_new_buffer();
 
 private: