evrcdec: convert to refcounted frames