Fred, I thought to use a filter when the renderer change in the theme is not convenient. But with Tim's proposal it is quite convenient to use centrally handled renderer overrides with several themes.
In Moodle the media_renderers are implemented not as filters so it looks more straightforward to me to just clone the code of an existing media renderer, put it in a new class and adopt it to the special needs.