sonata-project/SonataMediaBundle — pull request #291 by kfiku (2013-03-15 14:41:17+00:00)
Title: Update Media.php

Adding setExtension to change extension.
It is inpossibile to have images in, for example, jpg if you have png source.