mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-01-22 15:01:58 +01:00
discard partial
This commit is contained in:
@@ -73,6 +73,8 @@ template <> FrameDiscardPolicy StringTo(const std::string &arg) {
|
||||
return FrameDiscardPolicy::NoDiscard;
|
||||
if (arg == "discard")
|
||||
return FrameDiscardPolicy::Discard;
|
||||
if (arg == "discardpartial")
|
||||
return FrameDiscardPolicy::DiscardPartial;
|
||||
throw std::runtime_error("Could not decode frame discard policy from: \"" + arg + "\"");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user