X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=pbo_frame_allocator.cpp;h=3d4f8cf09321230a39c471164e9740fa99a92e84;hb=f985e1925f202078ca3c7ea693be2d8866636915;hp=8c92ec3ce29c42be7bf86a983a13f0db6221572d;hpb=0fbc1a8e841b5e6d5c9c9df75eba711f92185f01;p=nageru diff --git a/pbo_frame_allocator.cpp b/pbo_frame_allocator.cpp index 8c92ec3..3d4f8cf 100644 --- a/pbo_frame_allocator.cpp +++ b/pbo_frame_allocator.cpp @@ -44,6 +44,7 @@ PBOFrameAllocator::PBOFrameAllocator(size_t frame_size, GLuint width, GLuint hei userdata[i].last_width[1] = 0; userdata[i].last_height[1] = 0; userdata[i].last_interlaced = false; + userdata[i].last_has_signal = false; for (unsigned field = 0; field < 2; ++field) { glBindTexture(GL_TEXTURE_2D, userdata[i].tex_y[field]); check_error();