mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 14:24:07 +00:00
qcap: Fix frame interval calculation.
This commit is contained in:
parent
90fb2c3edb
commit
a19ceddeb0
|
@ -387,8 +387,8 @@ static void fill_caps(__u32 pixelformat, __u32 width, __u32 height,
|
|||
caps->media_type.cbFormat = sizeof(VIDEOINFOHEADER);
|
||||
/* We reallocate the caps array, so pbFormat has to be set after all caps
|
||||
* have been enumerated. */
|
||||
caps->config.MaxFrameInterval = 10000000 * max_fps;
|
||||
caps->config.MinFrameInterval = 10000000 * min_fps;
|
||||
caps->config.MaxFrameInterval = 10000000 / max_fps;
|
||||
caps->config.MinFrameInterval = 10000000 / min_fps;
|
||||
caps->config.MaxOutputSize.cx = width;
|
||||
caps->config.MaxOutputSize.cy = height;
|
||||
caps->config.MinOutputSize.cx = width;
|
||||
|
|
Loading…
Reference in a new issue