chunying / gaminganywhere

GamingAnywhere: An Open Cloud Gaming System
http://www.gaminganywhere.org/
Other
844 stars 296 forks source link

Forcing to use encoder-x264 instead of libavcodec #68

Closed mohamedhegazy closed 6 years ago

mohamedhegazy commented 6 years ago

Hi,

In GA release 0.8.0 the following change was made:

- module: add encoder-x264, which is implemented based on libx264 instead of libavcodec**

My question is how to make the server use the "encoder-x264" module instead of loading the one in libavcodec ?

mohamedhegazy commented 6 years ago

I found out how to do it. In case you need it, change line 186 in ga-hook-common.cpp to: snprintf(module_path, sizeof(module_path), BACKSLASHDIR("%s/mod/encoder-x264", "%smod\\encoder-x264"), ga_root);