Media: add hardware decoder for media