Conflicting advice ref mediacodec & stagefright for Shield TV

Wanted to play with Kodi; I have a Shield TV (Shield Experience 5.1, Android 7), and wanted to disable HW decode and use SW decode for MPEG2 only. The Kodi blog says stagefright has been discontinued for Android now but here: advancedsettings.xml (wiki) is says that cannot use mediacodec in advancedsettings.xml.

Is there a way, using advancedsettings.xml, to do this:

Code:
<advancedsettings>
  <video>
    <mediacodec>
      <!--  -1 is default, 0 is never used this codec, 1 is always use this codec, bypassing blacklist -->
      <usempeg2codec>0</usempeg2codec>
    </mediacodec>
  </video>
</advancedsettings>

Should the above force software decode of all mpeg2 only? I tried this but it did not work; HW decode was still being used. Any advice.