getRealType() and webm

Hi,

$file->getRealType() seems to be returning empty string when the file is .webm.

$file->getName() seems to be working fine.

Here is the code https://paste.debian.net/896992/

Am I doing something wrongly or is this bug in phalcon?

fileinfo extension is enable https://i.imgur.com/h5rmIdP.png

edited Nov '16

Worked correctly on my side. Returns video/webm. Tested on this configuration:

PHP Version 5.6.12

phalcon Version 2.0.7

fileinfo 1.0.5

Tested with this video.

I would guess it is either video file problem or something with your server configuration.