Bug fixed in deliver_media

Signed-off-by: Sven Haardiek <Sven@Haardiek.de>