Skip to content

Different ENODATA code on macOS #3274

@stefanwayon

Description

@stefanwayon

🐛 Bug

It seems macOS ENODATA code (96) is different than the Linux one (61). The Linux code is currently hard-coded in Video.cpp, which results in an (unnecessary?) error being shown when using the video decoder on macOS:

} else if (res == 61) {
LOG(INFO) << "Decoder ran out of frames (error 61)\n";
} else {
LOG(ERROR) << "Decoder failed with ERROR_CODE " << res;
}

cc @bjuncek

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions