const char *title;
/* Display size */
- int width;
- int height;
+ unsigned width;
+ unsigned height;
/* Display SAR */
struct {
- int num;
- int den;
+ unsigned num;
+ unsigned den;
} sar;
} display;
*
* This asssumes that the picture is already cropped.
*/
-VLC_EXPORT( void, vout_display_GetDefaultDisplaySize, (int *width, int *height, const video_format_t *source, const vout_display_cfg_t *) );
+VLC_EXPORT( void, vout_display_GetDefaultDisplaySize, (unsigned *width, unsigned *height, const video_format_t *source, const vout_display_cfg_t *) );
/**
}
/* */
-void vout_display_GetDefaultDisplaySize(int *width, int *height,
+void vout_display_GetDefaultDisplaySize(unsigned *width, unsigned *height,
const video_format_t *source,
const vout_display_cfg_t *cfg)
{
return;
/* */
- int width;
- int height;
- int display_width;
- int display_height;
+ unsigned width;
+ unsigned height;
+ unsigned display_width;
+ unsigned display_height;
if (cfg->is_display_filled) {
width = source->i_visible_width;