pgssubdec: handle more complex PGS scenarios