Show
Ignore:
Timestamp:
10/26/08 10:27:23 (6 years ago)
Author:
douglask
Message:

The workaround in tcl/ui-ctrlmenu.tcl to prevent VIC crashing with the message "pure virtual method" when compiled with earlier versions of g++ has been removed in order to allow changing of encoders and capture size.

grabber-macosx.cpp was modified to handle format changes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/mpeg4/tcl/ui-ctrlmenu.tcl

    r4297 r4302  
    437437proc close_device {} { 
    438438        global V 
    439         # XXX: bypassing the pure virtual funtion call problem under macosx 
    440         # need to figure out where is the bug 
    441         if { ![string match [ windowingsystem] "aqua"]} {  
    442             delete $V(encoder) 
    443             delete $V(grabber) 
    444             unset V(grabber)  
    445             unset V(encoder) 
    446         } 
     439        delete $V(encoder) 
     440        delete $V(grabber) 
     441        unset V(grabber)  
     442        unset V(encoder) 
    447443        if [info exists V(capwin)] { 
    448444                # delete the C++ object, then destrory the tk window