controller: fix direct control binding double -> int conversion
authorTim-Philipp Müller <tim@centricular.net>
Fri, 7 Sep 2012 00:02:10 +0000 (01:02 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 7 Sep 2012 00:02:10 +0000 (01:02 +0100)
commit36d5c586b170deaed4af895aff4a445c9c82e940
treeefcad98792420a513b6ad3618ae95ce8a4c99767
parent1ead500dad94bb65c84d3064471c59738fca2a5f
controller: fix direct control binding double -> int conversion

Round properly to nearest integer. Fixes controller
unit test on PowerPC G4.
libs/gst/controller/gstdirectcontrolbinding.c