869
869
use_cpu |= !codec_is_vdpau_hw(test_cid);
870
870
if (test_cid == kCodec_MPEG4_VDPAU)
871
871
use_cpu |= !MythRenderVDPAU::IsMPEG4Available();
872
874
if ((dec != "vdpau") || getenv("NO_VDPAU") || use_cpu)
873
875
return (MythCodecID)(kCodec_MPEG1 + (stream_type-1));