Skip to content
Snippets Groups Projects
Commit b4ac6f10 authored by Michał Krawczyk's avatar Michał Krawczyk
Browse files

V4L2ComponentName: Fix codec name assertions

The V4L2ComponentName::isValid() is often used as an assertion in other
functions. In some of them, the codec name could be passed as
std::string, and in some others the const char *.
The type discrepancy was causing a build errors when the LOG_NDEBUG was
defined.

The simplest fix is to align the codec name type to be std::string
everywhere.

Test: m
Change-Id: Ib4f6c7f0273ee57d889cfe2e60f0926c349a5871
(cherry picked from commit 42d307dad3e564089a25436aecbf28d8e6206e91)
parent 2461247b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment