winegstreamer: Do not compare FPS in wg_format_compare().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50667 Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f98722fe3b
commit
408c178d11
|
@ -307,10 +307,10 @@ static bool wg_format_compare(const struct wg_format *a, const struct wg_format
|
|||
&& a->u.audio.rate == b->u.audio.rate;
|
||||
|
||||
case WG_MAJOR_TYPE_VIDEO:
|
||||
/* Do not compare FPS. */
|
||||
return a->u.video.format == b->u.video.format
|
||||
&& a->u.video.width == b->u.video.width
|
||||
&& a->u.video.height == b->u.video.height
|
||||
&& a->u.video.fps_d * b->u.video.fps_n == a->u.video.fps_n * b->u.video.fps_d;
|
||||
&& a->u.video.height == b->u.video.height;
|
||||
}
|
||||
|
||||
assert(0);
|
||||
|
|
Loading…
Reference in New Issue