X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fguicast%2Fvframe.h;h=3cf9645b1e6f913b42853d2f8c7e57875f45a160;hb=0c9155dd01b6745f908e12c6a202c671a8f09514;hp=b0a221c78654f3d3493efc3e3b55219522dbc017;hpb=cc781196367b7841d463d7f7ebe9111ee7fa123c;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/guicast/vframe.h b/cinelerra-5.0/guicast/vframe.h index b0a221c7..3cf9645b 100644 --- a/cinelerra-5.0/guicast/vframe.h +++ b/cinelerra-5.0/guicast/vframe.h @@ -335,6 +335,10 @@ public: // Relevant configuration parameters must be passed on. BC_Hash* get_params(); +// get/set read status -1/err, 0/noxfer, 1/ok + int get_status() { return status; } + void set_status(int v) { status = v; } + // Compare stacks and params from 2 images and return 1 if equal. int equal_stacks(VFrame *src); @@ -438,7 +442,8 @@ private: // For writing discontinuous frames in background rendering long sequence_number; double timestamp; - +// read status of input frame -1/err, 0/noxfr, 1/ok + int status; // OpenGL support int is_keyframe; // State of the current texture