Revert "apply patch to media module"

This reverts commit 0a0f7bf332cf867b08d7dd5a86c87107afb5cac2.