mirror of
https://github.com/Genymobile/scrcpy
synced 2025-09-02 15:25:14 +00:00
Add missing error log
Log video buffer initialization failure in v4l2_sink.
This commit is contained in:
@@ -143,6 +143,7 @@ static bool
|
|||||||
sc_v4l2_sink_open(struct sc_v4l2_sink *vs) {
|
sc_v4l2_sink_open(struct sc_v4l2_sink *vs) {
|
||||||
bool ok = video_buffer_init(&vs->vb);
|
bool ok = video_buffer_init(&vs->vb);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
|
LOGE("Could not initialize video buffer");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user