View Single Post
Old 18th September 2013, 13:30   #4  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Hi Ian,

I have a couple of observations about the new code:
In ImageSeq.cpp, ImageReader::BlankFrame, how did you get the following code to compile (UVPitch not being declared)?
Code:
    const int UVpitch = frame->GetPitch(PLANAR_U);
    if (UVpitch) {
      const int UVsize = UVPitch * frame->GetHeight(PLANAR_U);
I also get errors from the Intel compiler in "ImageWriter::GetFrame":
Code:
      env->MakeWritable(frame);
      env->ApplyMessage(frame, vi, ss.str().c_str(), vi.width/4, TEXT_COLOR, 0, 0);
Code:
no suitable conversion function from "PVideoFrame" to "PVideoFrame *" exists
env->MakeWritable(frame);
Previously, "frame" had the address-of operator -> "&frame".
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 18th September 2013 at 18:03.
Groucho2004 is offline   Reply With Quote