Revert "Revert "Revert "media: add a flag for ion compatibility"""

This reverts commit 175c063ef717fc4b1869d7b7c3e790c41d9cc94f.