view libvo/geometry.h @ 15559:9f157ca7e3c2

Make sure that samplesize is at least 2, as some demuxers set it to 1 (demux_ogg for ac3 in ogm) or possibly even 0, and it causes preinit to set audio_out_minsize too low, which causes overflow (assert).
author hzoli
date Tue, 24 May 2005 06:54:19 +0000
parents 398c24cecdc7
children 3f0d00abc073
line wrap: on
line source

/* This file (C) Mark Zealey <mark@zealos.org 2002, released under GPL */
#ifndef __GEOMETRY_H
#define __GEOMETRY_H

extern char *vo_geometry;
extern int geometry_wh_changed;
extern int geometry_xy_changed;
int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh);
#endif /* !__GEOMETRY_H */