Changeset 226


Ignore:
Timestamp:
03/11/2012 08:20:15 PM (14 months ago)
Author:
reyalp
Message:

check for live view support in con:live_init_streaming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lua/chdku.lua

    r223 r226  
    942942function con_methods:live_init_streaming(opts) 
    943943        self.live = nil 
     944        -- TODO this shouldn't really be in gui_sys 
     945        if not guisys.caps().LIVEVIEW then 
     946                return false,'this chdkptp not compiled with liveview support' 
     947        end 
    944948        if not self:is_connected() then 
    945949                return false,'not connected' 
Note: See TracChangeset for help on using the changeset viewer.