Commit 4622f278 authored by Philippe Gorley's avatar Philippe Gorley

encoder: better logs when parsing json

Change-Id: I96bb15b0a00e6998c32949a894698493d0e76c19
parent b8a8cd39
......@@ -885,7 +885,7 @@ MediaEncoder::readConfig(AVCodecContext* encoderCtx)
int ret = av_opt_set(reinterpret_cast<void*>(encoderCtx),
key.c_str(), value.c_str(), AV_OPT_SEARCH_CHILDREN);
if (ret < 0) {
JAMI_ERR() << "Failed to set option " << key << " in encoder context: "
JAMI_ERR() << "Failed to set option " << key << " in " << name << " context: "
<< libav_utils::getError(ret) << "\n";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment