remove v4l/lml/buz, add symbolic folders, more xlat update, yuyv fixes, v4l2 upgrades
[goodguy/history.git] / cinelerra-5.1 / guicast / bcbitmap.C
index 231ce559a8039a7b652d1dbc459e6d7db5fdffdd..e8ce7622d34acba22777a51193a0c7b1a78ca0e9 100644 (file)
@@ -335,8 +335,6 @@ int BC_Bitmap::initialize(BC_WindowBase *parent_window,
        else
                this->avail_lock->reset();
        this->buffers = 0;
-       this->last_pixmap_used = 0;
-       this->last_pixmap = 0;
 
        this->active_bfr = 0;
        this->buffer_count = 0;
@@ -459,12 +457,7 @@ int BC_Bitmap::allocate_data()
 int BC_Bitmap::delete_data()
 {
 //printf("BC_Bitmap::delete_data 1\n");
-       if( last_pixmap_used && xv_portid >= 0 )
-               XvStopVideo(top_level->display, xv_portid, last_pixmap);
        update_buffers(0);
-       if( xv_portid >= 0 )
-               XvUngrabPort(top_level->display, xv_portid, CurrentTime);
-       last_pixmap_used = 0;
        active_bfr = 0;
        buffer_count = 0;
        max_buffer_count = 0;
@@ -593,8 +586,6 @@ int BC_Bitmap::write_drawable(Drawable &pixmap, GC &gc,
                avail.append(bfr);
        active_bfr = 0;
        avail_lock->unlock();
-       last_pixmap = pixmap;
-       last_pixmap_used = 1;
        if( !dont_wait && !shm_reply )
                XSync(top_level->display, False);
        return 0;