Revert "apply patch to media module"

This reverts commit d33cd9de403a304a505cbd51d83c2f9c2f199575.