drm: fix/clean up Display() error handling
Compare changes
+ 21
− 14
@@ -3,6 +3,7 @@
@@ -34,6 +35,7 @@
@@ -52,8 +54,6 @@
@@ -318,22 +318,29 @@ static void Display(vout_display_t *vd, picture_t *picture)
drmModeSetPlane() is just a glorified ioctl(). Errors are negative values, and the error code is in errno.
VideoLAN code repository instance