Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-P 1080x1920@270x480 is not scale correct #56

Closed
larryzhuo opened this issue Feb 5, 2017 · 1 comment
Closed

-P 1080x1920@270x480 is not scale correct #56

larryzhuo opened this issue Feb 5, 2017 · 1 comment

Comments

@larryzhuo
Copy link

larryzhuo commented Feb 5, 2017

this is my log:
PID: 21193
INFO: Using projection 1080x1920@270x480/0
INFO: (external/MY_minicap/src/minicap_19.cpp:255) Creating SurfaceComposerClient
INFO: (external/MY_minicap/src/minicap_19.cpp:258) Performing SurfaceComposerClient init check
INFO: (external/MY_minicap/src/minicap_19.cpp:265) Creating virtual display
INFO: (external/MY_minicap/src/minicap_19.cpp:271) Creating buffer queue
INFO: (external/MY_minicap/src/minicap_19.cpp:278) Creating CPU consumer
INFO: (external/MY_minicap/src/minicap_19.cpp:284) Creating frame waiter
INFO: (external/MY_minicap/src/minicap_19.cpp:288) Publishing virtual display
INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 6268932 bytes for JPG encoder
INFO: (external/MY_minicap/src/minicap_19.cpp:303) Destroying virtual display
1313端口连接成功
1080 1920 360 640

I printed frame size data in socket through

System.out.println(realWidth+"  "+realHeight+"  "+virtualWidth+"   "+virtualHeight); 

as you can see virtualWidth and virtualHeight become 360x640. does it just minimum support to 360x640?

@larryzhuo
Copy link
Author

i see, need to replugin the device, then it work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant