X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilethread.C;h=338176e6d86932116178431fe3aab071863fb528;hp=c5b28785c03cd7f491adb61c1f5fb59d56a58b52;hb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;hpb=3f6a262cfe390b3f8b275297d64565a5b6272969 diff --git a/cinelerra-5.1/cinelerra/filethread.C b/cinelerra-5.1/cinelerra/filethread.C index c5b28785..338176e6 100644 --- a/cinelerra-5.1/cinelerra/filethread.C +++ b/cinelerra-5.1/cinelerra/filethread.C @@ -214,12 +214,9 @@ void FileThread::run() //printf("FileThread::run %d\n", __LINE__); if(!local_frame->frame) { - local_frame->frame = new VFrame(0, - -1, - file->asset->width, - file->asset->height, - supported_colormodel, - -1); + local_frame->frame = + new VFrame(file->asset->width, file->asset->height, + supported_colormodel, 0); } // Read it @@ -454,12 +451,8 @@ int FileThread::start_writing(long buffer_size, else { video_buffer[buffer][layer][frame] = - new VFrame(0, - -1, - file->asset->width, - file->asset->height, - color_model, - -1); + new VFrame( file->asset->width, file->asset->height, + color_model, -1); // printf("FileThread::start_writing %d %d %d %d %p\n", // __LINE__, // buffer,