we do match for "-p" to search profile, thus we must prefix the
profile string with "p" otherwise it won't match in DLNA processing.
else
snprintf(str_level, sizeof(str_level), "%u.%u", level / 10, level % 10);
- ret.len = snprintf(buf, sizeof(buf), "h264-%s-l%s", str_profile, str_level);
+ ret.len = snprintf(buf, sizeof(buf), "h264-p%s-l%s", str_profile, str_level);
ret.str = buf;
lms_string_size_dup(value, &ret);
}
}
- ret.len = snprintf(buf, sizeof(buf), "h264-%s-l%s",
+ ret.len = snprintf(buf, sizeof(buf), "h264-p%s-l%s",
str_profile, str_level);
ret.str = buf;
goto found;