Ravi Shekhar Jethani
Ravi Shekhar Jethani
@blackjack so you are saying that I should iterate only over video* devices?
@blackjack sure the webcam consumer can find out how the webcam is represented on his system and then call Open() accordingly but this will make the consumer's package less portable....
@jefferai thanks for your comment but IMO my solution is correct. Reasons: * There is no need to change anything in simplelru package because the package gives a proper reason...
@jefferai if I change the error message in `simplelru.NewLRU()` to _"Failed to create Evict cache, please choose a higher 'ghostRatio' or increase cache 'size'"_ then the caller who is only...
@jefferai what you think of the updated changes?
@mkeeler you are right this is an edge case. However the code is not wrong when it denies creation of a size 1 2Q cache. A size 1 2Q cache...