Browse Source

fix video textures

David Rose 19 years ago
parent
commit
e1bee7aff7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      panda/src/grutil/ffmpegTexture.cxx
  2. 1 1
      panda/src/grutil/ffmpegTexture.h

+ 1 - 1
panda/src/grutil/ffmpegTexture.cxx

@@ -307,7 +307,7 @@ update_frame(int frame) {
 bool FFMpegTexture::
 do_read_one(const Filename &fullpath, const Filename &alpha_fullpath,
             int z, int n, int primary_file_num_channels, int alpha_file_channel,
-            BamCacheRecord *record) {
+            bool header_only, BamCacheRecord *record) {
   if (record != (BamCacheRecord *)NULL) {
     record->add_dependent_file(fullpath);
   }

+ 1 - 1
panda/src/grutil/ffmpegTexture.h

@@ -51,7 +51,7 @@ protected:
   virtual void update_frame(int frame);
   virtual bool do_read_one(const Filename &fullpath, const Filename &alpha_fullpath,
                            int z, int n, int primary_file_num_channels, int alpha_file_channel,
-                           BamCacheRecord *record);
+                           bool header_only, BamCacheRecord *record);
   virtual bool do_load_one(const PNMImage &pnmimage, const string &name,
                            int z, int n);