debug: fix codec debugging code

This commit is contained in:
Gilles Schintgen 2024-04-07 13:31:57 +02:00 committed by Cameron Gutman
parent 25d8e2b478
commit 358bb30c3c

View File

@ -95,7 +95,7 @@ namespace video {
from_flag(flag_e flag) {
#define _CONVERT(x) \
case flag_e::x: \
std::string_view(#x)
return std::string_view(#x)
switch (flag) {
_CONVERT(PASSED);
_CONVERT(REF_FRAMES_RESTRICT);