diff options
-rw-r--r-- | gtk2_ardour/video_image_frame.cc | 4 | ||||
-rw-r--r-- | gtk2_ardour/video_image_frame.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/video_image_frame.cc b/gtk2_ardour/video_image_frame.cc index 9235e0d13b..7164f84551 100644 --- a/gtk2_ardour/video_image_frame.cc +++ b/gtk2_ardour/video_image_frame.cc @@ -88,7 +88,7 @@ VideoImageFrame::reposition () void VideoImageFrame::exposeimg () { - ImgChanged(); /* EMIT SIGNAL */ + //ImgChanged(); /* EMIT SIGNAL */ } void @@ -129,8 +129,6 @@ VideoImageFrame::draw_line () void VideoImageFrame::fill_frame (const uint8_t r, const uint8_t g, const uint8_t b) { - memset((void*) img->data.get(), 0, img->stride * img->height); /// fill - const int rowstride = img->stride; const int clip_height = img->height; const int clip_width = img->width; diff --git a/gtk2_ardour/video_image_frame.h b/gtk2_ardour/video_image_frame.h index 638dd7f0b0..1fe543dce5 100644 --- a/gtk2_ardour/video_image_frame.h +++ b/gtk2_ardour/video_image_frame.h @@ -81,7 +81,7 @@ class VideoImageFrame : public sigc::trackable std::string video_filename; double unit_position; - framepos_t frame_position; + framepos_t sample_position; framepos_t video_frame_number; void reposition (); |