deinterlace: improve framerate transform
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 12 Sep 2012 11:28:07 +0000 (13:28 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 12 Sep 2012 11:28:07 +0000 (13:28 +0200)
commit1c64a91a507276ada4d414ea41bb0c483eeadbdb
tree92a2e09507457d373fa6ca6ea648cc4b1ab6d3d7
parent6d9f9bf11a07121659f7f68e2fdbf6ee40d01b64
deinterlace: improve framerate transform

Handle G_MAXINT in the framerates better. If we cannot double or divide the
framerate, clamp to the smallest/largest possible value we can express instead
of failing.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683861
gst/deinterlace/gstdeinterlace.c