mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 17:39:38 +00:00
various: fix comma style
This commit is contained in:
parent
9f5edd4eed
commit
4e59a56896
@ -308,7 +308,7 @@ static bool write_jpeg(struct image_writer_ctx *ctx, mp_image_t *image, FILE *fp
|
||||
JSAMPROW row_pointer[1];
|
||||
row_pointer[0] = image->planes[0] +
|
||||
(ptrdiff_t)cinfo.next_scanline * image->stride[0];
|
||||
jpeg_write_scanlines(&cinfo, row_pointer,1);
|
||||
jpeg_write_scanlines(&cinfo, row_pointer, 1);
|
||||
}
|
||||
|
||||
jpeg_finish_compress(&cinfo);
|
||||
|
@ -88,7 +88,7 @@ static void set_current_frame(struct ra_hwdec *hw, struct drm_frame *frame)
|
||||
}
|
||||
}
|
||||
|
||||
static void scale_dst_rect(struct ra_hwdec *hw, int source_w, int source_h ,struct mp_rect *src, struct mp_rect *dst)
|
||||
static void scale_dst_rect(struct ra_hwdec *hw, int source_w, int source_h, struct mp_rect *src, struct mp_rect *dst)
|
||||
{
|
||||
struct priv *p = hw->priv;
|
||||
|
||||
|
@ -1131,7 +1131,7 @@ static void vo_x11_update_composition_hint(struct vo *vo)
|
||||
case 3: hint = 2; break; // always enable
|
||||
}
|
||||
|
||||
XChangeProperty(x11->display, x11->window, XA(x11,_NET_WM_BYPASS_COMPOSITOR),
|
||||
XChangeProperty(x11->display, x11->window, XA(x11, _NET_WM_BYPASS_COMPOSITOR),
|
||||
XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&hint, 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user