Skip to content

Commit bb69c1e

Browse files
committed
fix missing nv12 case in tensor_buffer_ext
1 parent 910292f commit bb69c1e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

rerun_cpp/src/rerun/datatypes/tensor_buffer_ext.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ namespace rerun {
102102
case detail::TensorBufferTag::F64: {
103103
return _data.f64.size();
104104
}
105+
case detail::TensorBufferTag::NV12: {
106+
assert(
107+
false && "Can't ask for the number of elements in an NV12 encoded image"
108+
);
109+
}
105110
case detail::TensorBufferTag::JPEG: {
106111
assert(false && "Can't ask for the number of elements in a JPEG");
107112
}

0 commit comments

Comments
 (0)