+ return NULL;
+
+ if (border_l | border_r | border_t | border_b) {
+ width -= border_l + border_r;
+ height -= border_t + border_b;
+ result = vout_fbdev_resize(pdata->fbdev, width, height, bpp,
+ border_l, border_r, border_t, border_b, doublebuf ? 2 : 1);
+ }
+ else {
+ result = osdl_video_flip(pdata);
+ }
+ if (result == NULL) {
+ osdl_video_finish(pdata);
+ return NULL;
+ }