[fix] fix cursor mapping error

This commit is contained in:
dijunkun
2024-09-13 16:04:19 +08:00
parent d246b7a04d
commit fed7c3b103
3 changed files with 5 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ int ScreenCapturerAvf::Init(const int fps, cb_desktop_data cb) {
av_dict_set(&options_, "framerate", "60", 0);
av_dict_set(&options_, "pixel_format", "nv12", 0);
// show remote cursor
av_dict_set(&options_, "capture_cursor", "1", 0);
av_dict_set(&options_, "capture_cursor", "0", 0);
// Make the grabbed area follow the mouse
// av_dict_set(&options_, "follow_mouse", "centered", 0);
// Video frame size. The default is to capture the full screen