Browse Source

es_out: compute visible size from offset

pull/199/head
François Cartegnie 6 months ago
committed by Jean-Baptiste Kempf
parent
commit
898bd76283
  1. 4
      src/input/es_out.c

4
src/input/es_out.c

@ -2208,8 +2208,8 @@ static void EsOutFillEsFmt(es_out_sys_t *p_sys, es_format_t *fmt)
if( !fmt->video.i_visible_width || !fmt->video.i_visible_height )
{
fmt->video.i_visible_width = fmt->video.i_width;
fmt->video.i_visible_height = fmt->video.i_height;
fmt->video.i_visible_width = fmt->video.i_width - fmt->video.i_x_offset;
fmt->video.i_visible_height = fmt->video.i_height - fmt->video.i_y_offset;
}
if( fmt->video.i_frame_rate && fmt->video.i_frame_rate_base )

Loading…
Cancel
Save