diff --git a/lib/classes/record/adapter.class.php b/lib/classes/record/adapter.class.php index 0a57d7ab66..f5e8117fef 100644 --- a/lib/classes/record/adapter.class.php +++ b/lib/classes/record/adapter.class.php @@ -455,7 +455,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface public function get_duration() { if ( ! $this->duration) { - $this->duration = $this->get_technical_infos(media_subdef::TC_DATA_DURATION); + $this->duration = round($this->get_technical_infos(media_subdef::TC_DATA_DURATION)); } return $this->duration;