[cmake]: Add history log

1. Remove SVN version record.
2. CMakeLists will record max 10 git version.
3. Use mpp_show_history to control the history display.
4. Use strings libmpp.so | grep author to get history log from binary.

Change-Id: I5231ced4031d868fe1329488c914730dc91a3531
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2020-03-03 18:04:47 +08:00
parent 14cae9c4ca
commit 54b047e396
6 changed files with 89 additions and 170 deletions

View File

@@ -455,14 +455,14 @@ MPP_RET mpp_create(MppCtx *ctx, MppApi **mpi)
break;
}
mpp_api.version = mpp_info_get_revision();
mpp_api.version = 0;
p->api = &mpp_api;
p->check = p;
*ctx = p;
*mpi = p->api;
} while (0);
mpp_log("mpp version: %s\n", mpp_info_get(INFO_ALL));
show_mpp_version();
mpi_dbg_func("leave ret %d ctx %p mpi %p\n", ret, *ctx, *mpi);
return ret;